Added input related commands

Totoo 2024-01-14 12:48:34 +01:00
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.