mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 16:36:58 +00:00
Add "AC Next Keyboard Layout Select" consumer usage entry (macOS Globe key) (#22256)
This commit is contained in:
parent
49fd13f596
commit
6979794bac
@ -105,8 +105,9 @@ enum consumer_usages {
|
||||
AC_STOP = 0x226,
|
||||
AC_REFRESH = 0x227,
|
||||
AC_BOOKMARKS = 0x22A,
|
||||
AC_MISSION_CONTROL = 0x29F,
|
||||
AC_LAUNCHPAD = 0x2A0
|
||||
AC_NEXT_KEYBOARD_LAYOUT_SELECT = 0x29D,
|
||||
AC_DESKTOP_SHOW_ALL_WINDOWS = 0x29F,
|
||||
AC_SOFT_KEY_LEFT = 0x2A0
|
||||
};
|
||||
|
||||
/* Generic Desktop Page (0x01)
|
||||
@ -302,9 +303,9 @@ static inline uint16_t KEYCODE2CONSUMER(uint8_t key) {
|
||||
case KC_WWW_FAVORITES:
|
||||
return AC_BOOKMARKS;
|
||||
case KC_MISSION_CONTROL:
|
||||
return AC_MISSION_CONTROL;
|
||||
return AC_DESKTOP_SHOW_ALL_WINDOWS;
|
||||
case KC_LAUNCHPAD:
|
||||
return AC_LAUNCHPAD;
|
||||
return AC_SOFT_KEY_LEFT;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user