diff options
author | Nick Brassel <nick@tzarc.org> | 2020-05-21 20:31:42 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-21 20:31:42 +1000 |
commit | d1df576ece12a7627a18e1581eed482cda2dbed5 (patch) | |
tree | 8c8415ba527681ed9d453689c435c6f06a6daa64 /docs | |
parent | 83ebbf57b349552038d9d9af994eb2e9528ecbc5 (diff) | |
download | qmk_firmware-d1df576ece12a7627a18e1581eed482cda2dbed5.tar.gz |
Allow for overriding RAW endpoint usage page and ID. (#8834)
* Allow for overriding RAW endpoint usage page and ID.
* Move usb_descriptor_common.h.
* Docs update.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_rawhid.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/feature_rawhid.md b/docs/feature_rawhid.md index ed848a4c7..01e215be4 100644 --- a/docs/feature_rawhid.md +++ b/docs/feature_rawhid.md @@ -44,7 +44,11 @@ To connect your host computer to your keyboard with raw HID you need four pieces 3. Usage Page 4. Usage -The first two can easily be found in your keyboard's `config.h` in the keyboard's main directory under `VENDOR_ID` and `PRODUCT_ID`. **Usage Page** is **`0xFF60`** and **Usage** is **`0x0061`**. +The first two can easily be found in your keyboard's `config.h` in the keyboard's main directory under `VENDOR_ID` and `PRODUCT_ID`. + +The final two can be overridden in your keyboard's `config.h` in the keyboard's main directory by redefining the values: `#define RAW_USAGE_PAGE 0xFF60` and `#define RAW_USAGE_ID 0x61`. + +By default, **Usage Page** is `0xFF60` and **Usage** is `0x61`. ### Building your host |