diff options
author | Joel Challis <git@zvecr.com> | 2023-02-19 07:59:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 18:59:50 +1100 |
commit | 0152dd811dad101d5764f66476fa842170b86695 (patch) | |
tree | 5999c92f9e56076febab5674cb77a823c0e1de2a /tmk_core/protocol | |
parent | e837a32b2b4d6eb96ffacad0022699d67c0f8f1e (diff) |
Move `KC_MISSION_CONTROL`/`KC_LAUNCHPAD` keycodes to core (#19884)
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r-- | tmk_core/protocol/report.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tmk_core/protocol/report.h b/tmk_core/protocol/report.h index e4526e4ee6..9d415a3bfd 100644 --- a/tmk_core/protocol/report.h +++ b/tmk_core/protocol/report.h @@ -103,7 +103,9 @@ enum consumer_usages { AC_FORWARD = 0x225, AC_STOP = 0x226, AC_REFRESH = 0x227, - AC_BOOKMARKS = 0x22A + AC_BOOKMARKS = 0x22A, + AC_MISSION_CONTROL = 0x29F, + AC_LAUNCHPAD = 0x2A0 }; /* Generic Desktop Page (0x01) @@ -318,6 +320,10 @@ static inline uint16_t KEYCODE2CONSUMER(uint8_t key) { return BRIGHTNESS_DOWN; case KC_WWW_FAVORITES: return AC_BOOKMARKS; + case KC_MISSION_CONTROL: + return AC_MISSION_CONTROL; + case KC_LAUNCHPAD: + return AC_LAUNCHPAD; default: return 0; } |