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_STOP = 0x226,
|
||||||
AC_REFRESH = 0x227,
|
AC_REFRESH = 0x227,
|
||||||
AC_BOOKMARKS = 0x22A,
|
AC_BOOKMARKS = 0x22A,
|
||||||
AC_MISSION_CONTROL = 0x29F,
|
AC_NEXT_KEYBOARD_LAYOUT_SELECT = 0x29D,
|
||||||
AC_LAUNCHPAD = 0x2A0
|
AC_DESKTOP_SHOW_ALL_WINDOWS = 0x29F,
|
||||||
|
AC_SOFT_KEY_LEFT = 0x2A0
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Generic Desktop Page (0x01)
|
/* Generic Desktop Page (0x01)
|
||||||
|
@ -302,9 +303,9 @@ static inline uint16_t KEYCODE2CONSUMER(uint8_t key) {
|
||||||
case KC_WWW_FAVORITES:
|
case KC_WWW_FAVORITES:
|
||||||
return AC_BOOKMARKS;
|
return AC_BOOKMARKS;
|
||||||
case KC_MISSION_CONTROL:
|
case KC_MISSION_CONTROL:
|
||||||
return AC_MISSION_CONTROL;
|
return AC_DESKTOP_SHOW_ALL_WINDOWS;
|
||||||
case KC_LAUNCHPAD:
|
case KC_LAUNCHPAD:
|
||||||
return AC_LAUNCHPAD;
|
return AC_SOFT_KEY_LEFT;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue