aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/report.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-06-07 15:00:59 +1000
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-08-29 14:30:02 -0700
commit1193e45bf4c8c69e33c054c6eb3d545d5d52fcb5 (patch)
tree59559e7ee2f6e5e88b3d6621e0b95b25f9664953 /tmk_core/common/report.h
parentf209f91c7ce073aa0381e79c10219616cb7db523 (diff)
downloadqmk_firmware-1193e45bf4c8c69e33c054c6eb3d545d5d52fcb5.tar.gz
qmk_firmware-1193e45bf4c8c69e33c054c6eb3d545d5d52fcb5.zip
Convert `CONSUMER2BLUEFRUIT()` and `CONSUMER2RN42()` macros to static inline functions (#9055)
Diffstat (limited to 'tmk_core/common/report.h')
-rw-r--r--tmk_core/common/report.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h
index c2b1b7c71..1b2f13bdd 100644
--- a/tmk_core/common/report.h
+++ b/tmk_core/common/report.h
@@ -46,8 +46,9 @@ enum mouse_buttons {
46 * See https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf#page=75 46 * See https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf#page=75
47 */ 47 */
48enum consumer_usages { 48enum consumer_usages {
49 // 15.5 Display Controls (https://www.usb.org/sites/default/files/hutrr41_0.pdf) 49 // 15.5 Display Controls
50 BRIGHTNESS_UP = 0x06F, 50 SNAPSHOT = 0x065,
51 BRIGHTNESS_UP = 0x06F, // https://www.usb.org/sites/default/files/hutrr41_0.pdf
51 BRIGHTNESS_DOWN = 0x070, 52 BRIGHTNESS_DOWN = 0x070,
52 // 15.7 Transport Controls 53 // 15.7 Transport Controls
53 TRANSPORT_RECORD = 0x0B2, 54 TRANSPORT_RECORD = 0x0B2,
@@ -57,6 +58,7 @@ enum consumer_usages {
57 TRANSPORT_PREV_TRACK = 0x0B6, 58 TRANSPORT_PREV_TRACK = 0x0B6,
58 TRANSPORT_STOP = 0x0B7, 59 TRANSPORT_STOP = 0x0B7,
59 TRANSPORT_EJECT = 0x0B8, 60 TRANSPORT_EJECT = 0x0B8,
61 TRANSPORT_RANDOM_PLAY = 0x0B9,
60 TRANSPORT_STOP_EJECT = 0x0CC, 62 TRANSPORT_STOP_EJECT = 0x0CC,
61 TRANSPORT_PLAY_PAUSE = 0x0CD, 63 TRANSPORT_PLAY_PAUSE = 0x0CD,
62 // 15.9.1 Audio Controls - Volume 64 // 15.9.1 Audio Controls - Volume
@@ -71,6 +73,7 @@ enum consumer_usages {
71 AL_LOCK = 0x19E, 73 AL_LOCK = 0x19E,
72 AL_CONTROL_PANEL = 0x19F, 74 AL_CONTROL_PANEL = 0x19F,
73 AL_ASSISTANT = 0x1CB, 75 AL_ASSISTANT = 0x1CB,
76 AL_KEYBOARD_LAYOUT = 0x1AE,
74 // 15.16 Generic GUI Application Controls 77 // 15.16 Generic GUI Application Controls
75 AC_MINIMIZE = 0x206, 78 AC_MINIMIZE = 0x206,
76 AC_SEARCH = 0x221, 79 AC_SEARCH = 0x221,