* Document setting up studio for a new keyboard definition. * Document how to enable ZMK Studio for a build, adding reserved layers, and controlling which behaviors are built into a studio firmware. * Document `&studio_unlock` behavior. * Document studio configuration options. Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
2.7 KiB
2.7 KiB
| title | sidebar_label |
|---|---|
| ZMK Studio Configuration | ZMK Studio |
:::warning[Alpha Feature]
ZMK Studio is still in active development and the below information is for development purposes only. For up to date information, join the ZMK Discord server and discuss in #studio-development.
:::
The following settings affect the ZMK Studio portions of ZMK. See the ZMK Studio feature for more information on enabling and building with ZMK Studio enabled.
See Configuration Overview for instructions on how to change these settings.
Kconfig
Definition file: zmk/app/src/studio/Kconfig
Keymaps
| Config | Type | Description | Default |
|---|---|---|---|
CONFIG_ZMK_KEYMAP_LAYER_NAME_MAX_LEN |
int | Max allowable keymap layer display name | 20 |
Locking
| Config | Type | Description | Default |
|---|---|---|---|
CONFIG_ZMK_STUDIO_LOCKING |
bool | Enable/disable locking for ZMK Studio | y |
CONFIG_ZMK_STUDIO_LOCK_IDLE_TIMEOUT_SEC |
int | Seconds of inactivity in ZMK Studio before automatically locking | 500 |
CONFIG_ZMK_STUDIO_LOCK_ON_DISCONNECT |
bool | Whether to automatically lock again whenever ZMK Studio disconnects from the device | y |
Transport/Protocol Details
| Config | Type | Description | Default |
|---|---|---|---|
CONFIG_ZMK_STUDIO_TRANSPORT_BLE_PREF_LATENCY |
int | Lower latency to request while ZMK Studio is active to improve responsiveness | 10 |
CONFIG_ZMK_STUDIO_RPC_THREAD_STACK_SIZE |
int | Stack size for the dedicated RPC thread | 1800 |
CONFIG_ZMK_STUDIO_RPC_RX_BUF_SIZE |
int | Number of bytes available for buffering incoming messages | 30 |
CONFIG_ZMK_STUDIO_RPC_TX_BUF_SIZE |
int | Number of bytes available for buffering outgoing messages | 64 |