Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(HID): Preprocessor definitions for HID Usage Tables 1.21 #217

Closed
innovaker opened this issue Sep 27, 2020 · 1 comment · Fixed by #236
Closed

feat(HID): Preprocessor definitions for HID Usage Tables 1.21 #217

innovaker opened this issue Sep 27, 2020 · 1 comment · Fixed by #236
Assignees
Labels
core Core functionality/behavior of ZMK enhancement New feature or request hid keymaps PRs and issues related to keymaps

Comments

@innovaker
Copy link
Contributor

Prerequisite of #21.

  • Specification: https://usb.org/sites/default/files/hut1_2.pdf
  • Mirror specification where possible.
  • Include pages and usages.
  • Develop appropriate naming conventions.
  • Aim for self-documenting where possible.
  • Replace existing definitions.
@innovaker innovaker added enhancement New feature or request keymaps PRs and issues related to keymaps core Core functionality/behavior of ZMK labels Sep 27, 2020
@innovaker innovaker self-assigned this Sep 27, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Oct 4, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Oct 4, 2020
- Closes zmkfirmware#217.
- Replace USAGE_KEYPAD with HID_USAGE_KEY.
- Replace USAGE_CONSUMER with HID_USAGE_CONSUMER.
innovaker added a commit to innovaker/zmk that referenced this issue Oct 4, 2020
- Closes zmkfirmware#217.
- Replace USAGE_KEYPAD with HID_USAGE_KEY.
- Replace USAGE_CONSUMER with HID_USAGE_CONSUMER.
- Relegate USAGE_KEYPAD and USAGE_CONSUMER to hid_usage_legacy.h
@innovaker innovaker added the hid label Oct 5, 2020
@innovaker
Copy link
Contributor Author

I've incorporated the tweaks from version 1.21, none of which were currently relevant to ZMK.

@innovaker innovaker changed the title feat(HID): Preprocessor definitions for HID Usage Tables 1.2 feat(HID): Preprocessor definitions for HID Usage Tables 1.21 Oct 21, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Oct 28, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Oct 28, 2020
Deprecate USAGE_KEYPAD and replace with HID_USAGE_KEY.

Deprecate USAGE_CONSUMER and replace with HID_USAGE_CONSUMER.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Oct 31, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Oct 31, 2020
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Oct 31, 2020
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 2, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Nov 2, 2020
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 2, 2020
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 2, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Nov 2, 2020
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 2, 2020
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
innovaker added a commit to innovaker/zmk that referenced this issue Nov 3, 2020
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
petejohanson pushed a commit that referenced this issue Nov 4, 2020
petejohanson pushed a commit that referenced this issue Nov 4, 2020
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes #217.
petejohanson pushed a commit that referenced this issue Nov 4, 2020
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes #217.
MangoIV pushed a commit to MangoIV/zmk that referenced this issue Dec 18, 2020
MangoIV pushed a commit to MangoIV/zmk that referenced this issue Dec 18, 2020
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
MangoIV pushed a commit to MangoIV/zmk that referenced this issue Dec 18, 2020
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
tyalie pushed a commit to tyalie/zmk that referenced this issue Nov 15, 2022
tyalie pushed a commit to tyalie/zmk that referenced this issue Nov 15, 2022
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`.

Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
tyalie pushed a commit to tyalie/zmk that referenced this issue Nov 15, 2022
Replace `USAGE_GEN_DESKTOP` with `HID_USAGE_GD`.

Replace `USAGE_GEN_DESKTOP_KEYBOARD` with `HID_USAGE_GD_KEYBOARD`.

Replace `USAGE_GEN_DESKTOP_KEYPAD` with `HID_USAGE_KEY`.

Replace `0x0C` with `HID_USAGE_CONSUMER`.

Closes zmkfirmware#217.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core functionality/behavior of ZMK enhancement New feature or request hid keymaps PRs and issues related to keymaps
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant