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/feature_rawhid.md | |
parent | 83ebbf57b349552038d9d9af994eb2e9528ecbc5 (diff) | |
download | qmk_firmware-d1df576ece12a7627a18e1581eed482cda2dbed5.tar.gz qmk_firmware-d1df576ece12a7627a18e1581eed482cda2dbed5.zip |
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/feature_rawhid.md')
-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 | |||
44 | 3. Usage Page | 44 | 3. Usage Page |
45 | 4. Usage | 45 | 4. Usage |
46 | 46 | ||
47 | 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`**. | 47 | 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`. |
48 | |||
49 | 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`. | ||
50 | |||
51 | By default, **Usage Page** is `0xFF60` and **Usage** is `0x61`. | ||
48 | 52 | ||
49 | ### Building your host | 53 | ### Building your host |
50 | 54 | ||