summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-11-04 12:06:25 +0000
committerPete Johanson <peter@peterjohanson.com>2020-11-06 15:02:12 -0500
commit5d04110a58047983e26a25b9879d56d72af1fb7c (patch)
tree21cb8a09d6accc48e3d91830460c4339bcf22137
parent642ec46c1f38ad0bc034b656bad0a4d04f90506c (diff)
docs(key-press): Update for standardized keys
Replace existing HID Usage Tables link with links to the new codes documentation.
-rw-r--r--docs/docs/behavior/key-press.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/docs/behavior/key-press.md b/docs/docs/behavior/key-press.md
index 315e126..dcf1a13 100644
--- a/docs/docs/behavior/key-press.md
+++ b/docs/docs/behavior/key-press.md
@@ -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