1
0
Fork 0

Move KC_MISSION_CONTROL/KC_LAUNCHPAD keycodes to core (#19884)

This commit is contained in:
Joel Challis 2023-02-19 07:59:50 +00:00 committed by GitHub
parent e837a32b2b
commit 0152dd811d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 76 additions and 317 deletions

View file

@ -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;
}