1
0
Fork 0

Add a handful of consumer/gendesk page usages (#12811)

This commit is contained in:
Ryan 2021-05-07 02:16:07 +10:00 committed by GitHub
parent 38b9f67c3b
commit 3d922e6257
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,21 @@ enum consumer_usages {
AL_ASSISTANT = 0x1CB, AL_ASSISTANT = 0x1CB,
AL_KEYBOARD_LAYOUT = 0x1AE, AL_KEYBOARD_LAYOUT = 0x1AE,
// 15.16 Generic GUI Application Controls // 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_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_SEARCH = 0x221,
AC_HOME = 0x223, AC_HOME = 0x223,
AC_BACK = 0x224, AC_BACK = 0x224,
@ -98,7 +112,10 @@ enum desktop_usages {
// 4.5.1 System Controls - Power Controls // 4.5.1 System Controls - Power Controls
SYSTEM_POWER_DOWN = 0x81, SYSTEM_POWER_DOWN = 0x81,
SYSTEM_SLEEP = 0x82, SYSTEM_SLEEP = 0x82,
SYSTEM_WAKE_UP = 0x83 SYSTEM_WAKE_UP = 0x83,
SYSTEM_RESTART = 0x8F,
// 4.10 System Display Controls
SYSTEM_DISPLAY_TOGGLE_INT_EXT = 0xB5
}; };
// clang-format on // clang-format on