summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-05-07 02:16:07 +1000
committerGitHub <noreply@github.com>2021-05-06 17:16:07 +0100
commit3d922e6257752b54885b7dd28648eed7126b6024 (patch)
treec8f121f3fc0716b225745c643fb0359667a90415
parent38b9f67c3b874ff33383ec2eb18aba58e4e9dfa1 (diff)
Add a handful of consumer/gendesk page usages (#12811)
-rw-r--r--tmk_core/common/report.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h
index 606a259643..db6370657d 100644
--- a/tmk_core/common/report.h
+++ b/tmk_core/common/report.h
@@ -80,7 +80,21 @@ enum consumer_usages {
AL_ASSISTANT = 0x1CB,
AL_KEYBOARD_LAYOUT = 0x1AE,
// 15.16 Generic GUI Application Controls
+ AC_NEW = 0x201,
+ AC_OPEN = 0x202,
+ AC_CLOSE = 0x203,
+ AC_EXIT = 0x204,
+ AC_MAXIMIZE = 0x205,
AC_MINIMIZE = 0x206,
+ AC_SAVE = 0x207,
+ AC_PRINT = 0x208,
+ AC_PROPERTIES = 0x209,
+ AC_UNDO = 0x21A,
+ AC_COPY = 0x21B,
+ AC_CUT = 0x21C,
+ AC_PASTE = 0x21D,
+ AC_SELECT_ALL = 0x21E,
+ AC_FIND = 0x21F,
AC_SEARCH = 0x221,
AC_HOME = 0x223,
AC_BACK = 0x224,
@@ -96,9 +110,12 @@ enum consumer_usages {
*/
enum desktop_usages {
// 4.5.1 System Controls - Power Controls
- SYSTEM_POWER_DOWN = 0x81,
- SYSTEM_SLEEP = 0x82,
- SYSTEM_WAKE_UP = 0x83
+ SYSTEM_POWER_DOWN = 0x81,
+ SYSTEM_SLEEP = 0x82,
+ SYSTEM_WAKE_UP = 0x83,
+ SYSTEM_RESTART = 0x8F,
+ // 4.10 System Display Controls
+ SYSTEM_DISPLAY_TOGGLE_INT_EXT = 0xB5
};
// clang-format on