DocsGet started
Hardware and buttons
Board specs, what the screen and indicator light mean, every BOOT button gesture, the microSD card, and the two USB modes.
The board#
Keyling runs on the Waveshare ESP32-S3-LCD-1.47 development board, USB-A version, which plugs straight into a computer's USB port.
| Item | Spec |
|---|---|
| Chip | ESP32-S3R8, 8 MB PSRAM |
| Flash | 16 MB |
| Screen | 1.47-inch, 172×320, ST7789 |
| Indicator light | One RGB LED |
| Storage expansion | microSD card slot |
| Connector | USB-A plug, native USB on the chip |
| Wireless | Wi-Fi, 2.4 GHz |
The official firmware supports only this board.
Screen#



The default is landscape, 320×172. The top 24 pixels are the status bar; the 320×148 below is the app area.
| Screen | When it appears |
|---|---|
| Home screen | When no app is running: time, date, IP address, network status |
| App screen | When a Lua app is running; fills the app area |
| Monitor screen | During keyboard and mouse output: the left side draws the keyboard or mouse input the computer is receiving, the right side shows status and progress |
| System screens | Boot, Wi-Fi setup, pairing requests, receiving updates, find device, restarting |
| Toasts | One-off events: paired, update written, rolled back, app error, and so on |
Indicators related to keyboard and mouse output:
| Indicator | Meaning |
|---|---|
| Keyboard icon in the status bar | The network source is armed and can accept keyboard and mouse commands |
| Amber border around the whole screen | Output in progress |
| Red stop panel | Emergency stop, or stopped because the lease expired or USB disconnected; shows the reason, keys released |
The backlight dims when idle and turns off after longer idle; it lights up when a system screen or output indicator appears.
Indicator light#
The LED only reports safety and faults. It is normally off.
| Light | Meaning |
|---|---|
| Steady amber | Keyboard and mouse output in progress |
| Slow amber flash | Rescue mode: the device is running rescue firmware |
| Blue breathing | Wi-Fi setup in progress |
| Fast cyan flash | Receiving an update |
| Red flashing | Fault, update failed, rolled back, or the last restart was abnormal |
| Fast white flash | Find device, or a pairing request is waiting |
BOOT button#
BOOT is the only usable button on the device. It sits on the side at the USB plug end; with the screen facing up and the plug pointing up, it is on the right.
The board also has an RST button, which is not connected on this board by default and cannot be used.
Gestures#
| Gesture | Condition | Effect |
|---|---|---|
| Click | Short press and release, with no second press within 300 ms | Passed to the app. Macro player: runs the current macro; a click while running stops and resets |
| Double-click | Second press within 300 ms of releasing the first | Passed to the app. Macro player: switches to the next macro |
| Long press | Held for 0.8 seconds | Passed to the app. Not used by the macro player yet |
| Hold 5 seconds | Held for 5 seconds | Enters Wi-Fi setup; during Wi-Fi setup, holding 5 seconds again exits it |
A click takes effect 300 ms after release, because the device has to check for a second press.
Reserved by the system#
These take priority over apps and cannot be changed.
| When | Action | Effect |
|---|---|---|
| During output, or while the network source is armed | Press | Emergency stop: the moment the button goes down, clears the queue, releases all keys and mouse buttons, and disarms, without waiting for gesture detection |
| While a pairing request is shown | Click / double-click | Allow / deny |
| Within the 2 seconds the boot screen shows Press BOOT for rescue | Press | Enters rescue firmware |
| Before plugging in USB | Hold, then plug in | Enters the chip's download mode, for installing firmware and unbricking |
The emergency-stop press does not count as a click, does not count as allowing or denying a pairing, and does not enter Wi-Fi setup no matter how long you hold it. After an emergency stop, press BOOT once more to restore the app's output access; only that press is handled as a normal gesture.
For emergency stop, leases, and related mechanisms, see Safety and limits.
microSD card#
The microSD card is an optional extension. Everything else works without one.
- The file system must be FAT. The device never formats a card automatically; if it can't mount one, it only reports why.
- Hot-plugging is supported.
- The device writes its own content only to the card's
/stick/directory and leaves existing files alone.
Uses:
| Use | Location on the card |
|---|---|
| Black-box log: logs from before a restart, power loss, or crash | /stick/logs/ |
| Macros on the card | /stick/data/macro/ |
| App data and assets | /stick/data/<app ID>/ |
| Large timeline files that the device streams as it plays | Any path, for example /stick/macros/ |
Manage files with stick sd ls|get|put|rm on the command line; see The stick command line.
USB modes#
The chip has only one USB interface, so keyboard and mouse and USB serial cannot exist at the same time.
| Mode | What appears on USB | Notes |
|---|---|---|
hid |
Keyboard, mouse, media keys, absolute pointer | Kernel default. The USB serial port disappears; updates, logs, and screenshots all go over Wi-Fi |
serial |
USB serial console | For debugging the kernel. Keyboard and mouse are unavailable |
- Switch with
stick usb hidorstick usb serial; the device then restarts. - Rescue firmware always keeps the USB serial port and provides no keyboard or mouse.
- The computer sees the device as
Keyling HID, USB VID303A, PID82F0, with the device ID as its serial number. - The absolute pointer maps only to the computer's primary display. Targets on secondary displays are handled by the software-layer SDK.