DocsReference

Glossary

Terms that recur throughout the docs: kernel, rescue firmware, Wi-Fi setup, pairing, macro, timeline, lease, emergency stop, monitor screen, and more.

Device#

Term Meaning
Keyling Product name. Shown as the USB device name, in the device web app, and on the boot screen
stick Early code name. Kept in the command line, the Python package, protocol headers, and device IDs
Device ID In the form stick-xxxxxx; the last 6 characters come from the device's MAC address. Also used as the host name and the setup hotspot name
BOOT button The only usable button on the device; see Hardware and buttons
Storage A file system of about 8.3 MB on the device's flash, holding apps, macros, the device web app, and fonts
microSD card Optional extra storage, FAT file system

Firmware#

Term Meaning
Kernel The firmware the device normally runs: keyboard and mouse, screen, apps, device web app
Rescue firmware A small, always-present firmware: Wi-Fi, Wi-Fi setup, receiving updates, logs. The fallback when the kernel has problems
Kernel slot A partition that holds a kernel; there are two. One runs, and updates are written to the other
Pending verification The state of a newly booted kernel. It becomes valid only if the host confirms it within 60 seconds; otherwise it is rolled back
Rollback The bootloader automatically going back to the previous kernel version
Download mode The chip's built-in flashing mode. Hold BOOT while plugging in USB to enter; used for installing and unbricking
Signing key The key that signs firmware. When updating over Wi-Fi, the device only accepts images signed with the same key as the current firmware

Networking and authentication#

Term Meaning
Wi-Fi setup Getting the device onto a new Wi-Fi network: the device opens a hotspot, and a person picks a network and enters its password on the setup page
Setup page The web page served on the device's hotspot during Wi-Fi setup, at http://192.168.4.1/
Pairing Giving a client the device's key. Requires a person to click BOOT on the device to allow it
Pairing key One per device, 32 bytes. Every request to a control endpoint is signed with it
Device web app The web app built into the device; open the device's address in a browser to use it

Keyboard and mouse#

Term Meaning
HID The standard for input devices such as USB keyboards and mice. In these docs, the device's keyboard and mouse output
Network source Keyboard and mouse commands sent over Wi-Fi from the command line, an agent, or a script. Must be armed first
App source Keyboard and mouse actions sent by a Lua app on the device. The app must declare the hid permission in its manifest
Arm Allow output from the network source. The command is stick hid-arm
Lease How long arming lasts, 1–600 seconds. If it expires without renewal, the device releases all keys and disarms
Emergency stop Immediately clears the queue, releases all keys and mouse buttons, and disarms. Triggered by pressing BOOT or sent by the host
Action A single keyboard or mouse operation described in JSON, such as a key tap, typing text, a move, or a click
Timeline The device's execution format: a series of 6-byte records, each with a time interval, executed frame by frame on time
Absolute pointer A mouse positioned by absolute coordinates; maps only to the computer's primary display
87-key set (TKL) The default key set: the standard keys of a tenkeyless keyboard, with function keys up to F12
Monitor screen The screen the device shows during output: input the computer is receiving on the left, status and progress on the right

Apps and macros#

Term Meaning
App A Lua program running on the device, with hot reload
Manifest The manifest.json in an app directory: ID, name, entry file, permissions
Macro A JSON document stored on the device that describes a sequence of keyboard and mouse steps; steps use the same names as HID API actions
Macro player The app that runs macros, ID macro
Current macro The macro that runs when you click BOOT
Block editor The macro editor in the device web app: drag blocks from the toolbox into a stack under Start

Host and agents#

Term Meaning
Host A computer or program that controls the device over Wi-Fi
Host tools The Python package stick: the stick command line and the stick-mcp MCP server
Hardware layer Firmware, device protocol, and host tools. Only executes on time
Software-layer SDK stick-sdk: operating by screen coordinates, human style, post-run verification; see Software-layer SDK
Plan The SDK's input: a JSON document describing where to click, what to type, and what guards apply; see Plan format
MCP Model Context Protocol. The protocol AI agents use to call external tools
llms.txt An instructions file served by the device itself, written for agents: http://<device address>/llms.en.txt in English, /llms.txt in Chinese

View the source of this page on GitHub