Browse Source

docs(key-press): Update for standardized keys

Replace existing HID Usage Tables link with links to the new codes documentation.
xmkb
innovaker 4 years ago committed by Pete Johanson
parent
commit
5d04110a58
  1. 13
      docs/docs/behavior/key-press.md

13
docs/docs/behavior/key-press.md

@ -8,7 +8,18 @@ sidebar_label: Key Press @@ -8,7 +8,18 @@ sidebar_label: Key Press
The most basic of behaviors, is the ability to send certain keycode presses and releases in response to activating
a certain key.
For reference on keycode values, see pages 83-89 of the [USB HID Usage Tables](https://www.usb.org/document-library/hid-usage-tables-12).
The categories of supported codes are:
- [Keyboard & Keypad](../codes/keyboard-keypad)
- [Editing](../codes/editing)
- [Media](../codes/media)
- [Applications](../codes/applications)
- [Input Assist](../codes/input-assist)
- [Power](../codes/power)
Please visit the [codes](../codes) section for a comprehensive list.
For advanced users, user-defined HID codes are also supported but must be encoded, please see [`dt-bindings/zmk/keys.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/keys.h) for further insight.
## Keycode Defines

Loading…
Cancel
Save