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 /keyboards/keebio | |
parent | e837a32b2b4d6eb96ffacad0022699d67c0f8f1e (diff) |
Move `KC_MISSION_CONTROL`/`KC_LAUNCHPAD` keycodes to core (#19884)
Diffstat (limited to 'keyboards/keebio')
-rw-r--r-- | keyboards/keebio/sinc/keymaps/lickel/keymap.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/keyboards/keebio/sinc/keymaps/lickel/keymap.c b/keyboards/keebio/sinc/keymaps/lickel/keymap.c index 11656a755c..22636f7176 100644 --- a/keyboards/keebio/sinc/keymaps/lickel/keymap.c +++ b/keyboards/keebio/sinc/keymaps/lickel/keymap.c @@ -16,18 +16,6 @@ #include QMK_KEYBOARD_H -enum custom_keycodes { -#ifdef VIA_ENABLE - KC_MISSION_CONTROL = USER00, -#else - KC_MISSION_CONTROL = SAFE_RANGE, -#endif - KC_LAUNCHPAD -}; - -#define KC_MCTL KC_MISSION_CONTROL -#define KC_LPAD KC_LAUNCHPAD - // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { @@ -75,24 +63,3 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { [3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, }; #endif - -bool process_record_user(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; - case KC_LAUNCHPAD: - if (record->event.pressed) { - host_consumer_send(0x2A0); - } else { - host_consumer_send(0); - } - return false; - default: - return true; - } -} |