summaryrefslogtreecommitdiff
path: root/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/idobao/id87/v2/keymaps/idobao/keymap.c')
-rw-r--r--keyboards/idobao/id87/v2/keymaps/idobao/keymap.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c b/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c
index 387ee85ca5..bfc626c88e 100644
--- a/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c
+++ b/keyboards/idobao/id87/v2/keymaps/idobao/keymap.c
@@ -22,10 +22,8 @@ typedef union {
#endif // RGB_MATRIX_ENABLE
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
RGB_TUG, // Toggle Underglow
#endif // RGB_MATRIX_ENABLE
KB_VRSN = USER09 // debug, type version
@@ -36,11 +34,6 @@ enum {
#define RGB_TUG _______
#endif
-enum macos_consumer_usages {
- _AC_SHOW_ALL_WINDOWS = 0x29F, // mapped to KC_MCON
- _AC_SHOW_ALL_APPS = 0x2A0 // mapped to KC_LPAD
-};
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┐
@@ -277,23 +270,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;
-
default:
return true; /* Process all other keycodes normally */
}