feat(hid): Add C_AC_DESKTOP_SHOW_ALL_APPLICATIONS

* support for C_AC_DESKTOP_SHOW_ALL_APPLICATIONS

Co-authored-by: Shreyas Kale <shreyaskale@Shreyass-MacBook-Pro.local>
This commit is contained in:
Shreyas 2022-08-22 00:27:47 -04:00 committed by GitHub
parent b21ddcf79a
commit 391f80f069
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 2 deletions

View file

@ -1404,6 +1404,10 @@
#define C_AC_DESKTOP_SHOW_ALL_WINDOWS \ #define C_AC_DESKTOP_SHOW_ALL_WINDOWS \
(ZMK_HID_USAGE(HID_USAGE_CONSUMER, HID_USAGE_CONSUMER_AC_DESKTOP_SHOW_ALL_WINDOWS)) (ZMK_HID_USAGE(HID_USAGE_CONSUMER, HID_USAGE_CONSUMER_AC_DESKTOP_SHOW_ALL_WINDOWS))
/* Consumer AC Desktop Show All Applications */
#define C_AC_DESKTOP_SHOW_ALL_APPLICATIONS \
(ZMK_HID_USAGE(HID_USAGE_CONSUMER, HID_USAGE_CONSUMER_AC_DESKTOP_SHOW_ALL_APPLICATIONS))
/* Consumer Keyboard Input Assist Previous */ /* Consumer Keyboard Input Assist Previous */
#define C_KEYBOARD_INPUT_ASSIST_PREVIOUS \ #define C_KEYBOARD_INPUT_ASSIST_PREVIOUS \
(ZMK_HID_USAGE(HID_USAGE_CONSUMER, HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_PREVIOUS)) (ZMK_HID_USAGE(HID_USAGE_CONSUMER, HID_USAGE_CONSUMER_KEYBOARD_INPUT_ASSIST_PREVIOUS))

View file

@ -47,6 +47,7 @@ export default {
"C_AC_DEL", "C_AC_DEL",
"C_AC_VIEW_TOGGLE", "C_AC_VIEW_TOGGLE",
"C_AC_DESKTOP_SHOW_ALL_WINDOWS", "C_AC_DESKTOP_SHOW_ALL_WINDOWS",
"C_AC_DESKTOP_SHOW_ALL_APPLICATIONS",
"C_VOICE_COMMAND", "C_VOICE_COMMAND",
], ],
applications: [ applications: [

View file

@ -7251,7 +7251,7 @@ export default [
windows: null, windows: null,
linux: true, linux: true,
android: true, android: true,
macos: null, macos: true,
ios: null, ios: null,
}, },
footnotes: {}, footnotes: {},
@ -7713,7 +7713,28 @@ export default [
windows: null, windows: null,
linux: true, linux: true,
android: null, android: null,
macos: null, macos: true,
ios: null,
},
footnotes: {},
},
{
names: ["C_AC_DESKTOP_SHOW_ALL_APPLICATIONS"],
description: "Desktop Show All Applications",
context: "Consumer AC",
clarify: true,
usages: [
{
application: consumerApplication,
item: usage(consumerPage, 0x2a2),
},
],
documentation: "https://usb.org/sites/default/files/hut1_2.pdf#page=153",
os: {
windows: null,
linux: true,
android: null,
macos: true,
ios: null, ios: null,
}, },
footnotes: {}, footnotes: {},