diff options
author | Joel Challis <git@zvecr.com> | 2023-02-20 00:59:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 00:59:46 +0000 |
commit | 7996be6db6e9cf5f76427ed7bbfbe142e3f5aee5 (patch) | |
tree | 59fbd8c1aa2fbcd2b701fe12654d4f7fa9ef854a /keyboards/idobao/id63 | |
parent | f71f7733a32508905a37263c49da0ce36f04fc32 (diff) |
Refactor more KC_MISSION_CONTROL/KC_LAUNCHPAD usages (#19891)
Diffstat (limited to 'keyboards/idobao/id63')
-rw-r--r-- | keyboards/idobao/id63/keymaps/idobao/keymap.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/keyboards/idobao/id63/keymaps/idobao/keymap.c b/keyboards/idobao/id63/keymaps/idobao/keymap.c index 9fd4e1110b..9a290815b4 100644 --- a/keyboards/idobao/id63/keymaps/idobao/keymap.c +++ b/keyboards/idobao/id63/keymaps/idobao/keymap.c @@ -31,10 +31,8 @@ enum { }; enum { - KC_MCON = USER00, // macOS Open Mission Control - KC_LPAD, // macOS Open Launchpad #ifdef RGB_MATRIX_ENABLE - RGB_TPK, // Toggle Per-Key + RGB_TPK = USER00, // Toggle Per-Key #ifndef ID63_DISABLE_UNDERGLOW RGB_TUG, // Toggle Underglow #endif // ID63_DISABLE_UNDERGLOW @@ -51,11 +49,6 @@ enum { #endif // ID63_DISABLE_UNDERGLOW #endif // RGB_MATRIX_ENABLE -enum macos_consumer_usages { - _AC_SHOW_ALL_WINDOWS = 0x29F, // mapped to KC_MCON - _AC_SHOW_ALL_APPS = 0x2A0 // mapped to KC_LPAD -}; - /* Special Keys */ #define SK_LT1C LT(_FN1, KC_CAPS) // Layer Tap 1, i.e., Tap = Caps Lock, Hold = Layer 1 #define SK_LT2A LT(_FN2, KC_APP) // Layer Tap 2, i.e., Tap = Menu, Hold = Layer 2 @@ -318,23 +311,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } return false; - // @see: https://github.com/qmk/qmk_firmware/issues/10111#issuecomment-752300353 - case KC_MCON: - if (record->event.pressed) { - host_consumer_send(_AC_SHOW_ALL_WINDOWS); - } else { - host_consumer_send(0); - } - return false; - - case KC_LPAD: - if (record->event.pressed) { - host_consumer_send(_AC_SHOW_ALL_APPS); - } else { - host_consumer_send(0); - } - return false; - // Shift + Backspace = Delete, see: https://docs.qmk.fm/#/feature_advanced_keycodes?id=shift-backspace-for-delete case KC_BSPC: if (record->event.pressed) { |