forked from mirrors/qmk_userspace
Move KC_MISSION_CONTROL
/KC_LAUNCHPAD
keycodes to core (#19884)
This commit is contained in:
parent
e837a32b2b
commit
0152dd811d
23 changed files with 76 additions and 317 deletions
|
@ -41,20 +41,6 @@ void housekeeping_task_keychron(void) {
|
|||
|
||||
bool process_record_keychron(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case KC_MISSION_CONTROL:
|
||||
if (record->event.pressed) {
|
||||
host_consumer_send(0x29F);
|
||||
} else {
|
||||
host_consumer_send(0);
|
||||
}
|
||||
return false; // Skip all further processing of this key
|
||||
case KC_LAUNCHPAD:
|
||||
if (record->event.pressed) {
|
||||
host_consumer_send(0x2A0);
|
||||
} else {
|
||||
host_consumer_send(0);
|
||||
}
|
||||
return false; // Skip all further processing of this key
|
||||
case KC_LOPTN:
|
||||
case KC_ROPTN:
|
||||
case KC_LCMMD:
|
||||
|
|
|
@ -22,12 +22,10 @@
|
|||
|
||||
enum custom_keycodes {
|
||||
#ifdef VIA_ENABLE
|
||||
KC_MISSION_CONTROL = USER00,
|
||||
KC_LOPTN = USER00,
|
||||
#else
|
||||
KC_MISSION_CONTROL = SAFE_RANGE,
|
||||
KC_LOPTN = SAFE_RANGE,
|
||||
#endif
|
||||
KC_LAUNCHPAD,
|
||||
KC_LOPTN,
|
||||
KC_ROPTN,
|
||||
KC_LCMMD,
|
||||
KC_RCMMD,
|
||||
|
@ -38,8 +36,6 @@ enum custom_keycodes {
|
|||
KC_CORTANA
|
||||
};
|
||||
|
||||
#define KC_MCTL KC_MISSION_CONTROL
|
||||
#define KC_LPAD KC_LAUNCHPAD
|
||||
#define KC_TASK KC_TASK_VIEW
|
||||
#define KC_FLXP KC_FILE_EXPLORER
|
||||
#define KC_SNAP KC_SCREEN_SHOT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue