This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type output by wasm-bindgen to the .d.ts bindings. No JS code is generated, just type definitions | |
export type ControllerCommand = | |
| { "Keypress": { key_code: number, meta_key: boolean, shift_key: boolean, alt_key: boolean, } } | |
| { "Button": { button: number, } } | |
| { "Character": { char_code: number, } } | |
| { "InsertText": { text: string, } } | |
| { "RenameGroup": { tag: string, curspan: any, } } | |
| { "Cursor": { focus: any, anchor: any, } } | |
| { "RandomTarget": { position: number, } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MonoPrice Cadet script for uploading .gcode files | |
# and listing the contents of the SD card | |
# | |
# Usage: python mpcadet.py 192.168.1.X | |
# | |
# Uploads the local CADET.gcode file in the same directory | |
# as your script to the device and then kicks off a build. | |
# | |
# A limited number of GCODE commands seem possible: | |
# https://marlinfw.org/docs/gcode/M023.html |
OlderNewer