diff options
author | Ryan <fauxpark@gmail.com> | 2021-05-07 02:16:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 17:16:07 +0100 |
commit | 3d922e6257752b54885b7dd28648eed7126b6024 (patch) | |
tree | c8f121f3fc0716b225745c643fb0359667a90415 | |
parent | 38b9f67c3b874ff33383ec2eb18aba58e4e9dfa1 (diff) | |
download | qmk_firmware-3d922e6257752b54885b7dd28648eed7126b6024.tar.gz qmk_firmware-3d922e6257752b54885b7dd28648eed7126b6024.zip |
Add a handful of consumer/gendesk page usages (#12811)
-rw-r--r-- | tmk_core/common/report.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h index 606a25964..db6370657 100644 --- a/tmk_core/common/report.h +++ b/tmk_core/common/report.h | |||
@@ -80,7 +80,21 @@ enum consumer_usages { | |||
80 | AL_ASSISTANT = 0x1CB, | 80 | AL_ASSISTANT = 0x1CB, |
81 | AL_KEYBOARD_LAYOUT = 0x1AE, | 81 | AL_KEYBOARD_LAYOUT = 0x1AE, |
82 | // 15.16 Generic GUI Application Controls | 82 | // 15.16 Generic GUI Application Controls |
83 | AC_NEW = 0x201, | ||
84 | AC_OPEN = 0x202, | ||
85 | AC_CLOSE = 0x203, | ||
86 | AC_EXIT = 0x204, | ||
87 | AC_MAXIMIZE = 0x205, | ||
83 | AC_MINIMIZE = 0x206, | 88 | AC_MINIMIZE = 0x206, |
89 | AC_SAVE = 0x207, | ||
90 | AC_PRINT = 0x208, | ||
91 | AC_PROPERTIES = 0x209, | ||
92 | AC_UNDO = 0x21A, | ||
93 | AC_COPY = 0x21B, | ||
94 | AC_CUT = 0x21C, | ||
95 | AC_PASTE = 0x21D, | ||
96 | AC_SELECT_ALL = 0x21E, | ||
97 | AC_FIND = 0x21F, | ||
84 | AC_SEARCH = 0x221, | 98 | AC_SEARCH = 0x221, |
85 | AC_HOME = 0x223, | 99 | AC_HOME = 0x223, |
86 | AC_BACK = 0x224, | 100 | AC_BACK = 0x224, |
@@ -96,9 +110,12 @@ enum consumer_usages { | |||
96 | */ | 110 | */ |
97 | enum desktop_usages { | 111 | enum desktop_usages { |
98 | // 4.5.1 System Controls - Power Controls | 112 | // 4.5.1 System Controls - Power Controls |
99 | SYSTEM_POWER_DOWN = 0x81, | 113 | SYSTEM_POWER_DOWN = 0x81, |
100 | SYSTEM_SLEEP = 0x82, | 114 | SYSTEM_SLEEP = 0x82, |
101 | SYSTEM_WAKE_UP = 0x83 | 115 | SYSTEM_WAKE_UP = 0x83, |
116 | SYSTEM_RESTART = 0x8F, | ||
117 | // 4.10 System Display Controls | ||
118 | SYSTEM_DISPLAY_TOGGLE_INT_EXT = 0xB5 | ||
102 | }; | 119 | }; |
103 | 120 | ||
104 | // clang-format on | 121 | // clang-format on |