mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-27 03:55:29 +00:00
Added input related commands
parent
3c7ea80c00
commit
2aa8b9d2bb
@ -45,6 +45,8 @@ The terminal exposes the ChibiOS/RT Shell:
|
|||||||
* button 6: DFU
|
* button 6: DFU
|
||||||
* button 7: Rotary Left
|
* button 7: Rotary Left
|
||||||
* button 8: Rotary Right
|
* button 8: Rotary Right
|
||||||
|
* `touch`: Emulates touch event (press + release). Need to pass the x y coordinates of the event, and 0 < x < screen_width, 0 < y < screen_height must be met.
|
||||||
|
* `keyboard`: Emulates keypress event for the supported widgets. One parameter must be a string that has the HEX (2 char) representation of the desired key. You can send multiple characters at once. Backspace is 08. "Hello world" sent in one command: `keyboard 48656C6C6F20776F726C64`.
|
||||||
* `ls`: Lists files and directories.
|
* `ls`: Lists files and directories.
|
||||||
* `mkdir`: Creates a directory.
|
* `mkdir`: Creates a directory.
|
||||||
* `unlink`: Deletes a file.
|
* `unlink`: Deletes a file.
|
||||||
|
Loading…
Reference in New Issue
Block a user