summaryrefslogtreecommitdiff
path: root/keyboards/yandrstudio/yr6095
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-19 07:59:50 +0000
committerGitHub <noreply@github.com>2023-02-19 18:59:50 +1100
commit0152dd811dad101d5764f66476fa842170b86695 (patch)
tree5999c92f9e56076febab5674cb77a823c0e1de2a /keyboards/yandrstudio/yr6095
parente837a32b2b4d6eb96ffacad0022699d67c0f8f1e (diff)
Move `KC_MISSION_CONTROL`/`KC_LAUNCHPAD` keycodes to core (#19884)
Diffstat (limited to 'keyboards/yandrstudio/yr6095')
-rw-r--r--keyboards/yandrstudio/yr6095/yr6095.c14
-rw-r--r--keyboards/yandrstudio/yr6095/yr6095.h6
2 files changed, 0 insertions, 20 deletions
diff --git a/keyboards/yandrstudio/yr6095/yr6095.c b/keyboards/yandrstudio/yr6095/yr6095.c
index c0a2c94cc2..3ce43eb297 100644
--- a/keyboards/yandrstudio/yr6095/yr6095.c
+++ b/keyboards/yandrstudio/yr6095/yr6095.c
@@ -57,20 +57,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
process_magic(CG_TOGG, record);
}
return false;
- case KC_MCTL:
- if (record->event.pressed) {
- host_consumer_send(0x29F);
- } else {
- host_consumer_send(0);
- }
- return false;
- case KC_LPAD:
- if (record->event.pressed) {
- host_consumer_send(0x2A0);
- } else {
- host_consumer_send(0);
- }
- return false;
default:
return true;
}
diff --git a/keyboards/yandrstudio/yr6095/yr6095.h b/keyboards/yandrstudio/yr6095/yr6095.h
index 37b4412aaa..f21ee93634 100644
--- a/keyboards/yandrstudio/yr6095/yr6095.h
+++ b/keyboards/yandrstudio/yr6095/yr6095.h
@@ -62,19 +62,13 @@ enum keyboard_keycodes {
#ifdef VIA_ENABLE
LOCK_GUI = USER00,
TOG_MACOS_KEYMAP,
- KC_MISSION_CONTROL,
- KC_LAUNCHPAD,
NEW_SAFE_RANGE = SAFE_RANGE // Important!
#else
LOCK_GUI = SAFE_RANGE,
TOG_MACOS_KEYMAP,
- KC_MISSION_CONTROL,
- KC_LAUNCHPAD,
NEW_SAFE_RANGE // Important!
#endif
};
#define KC_LG LOCK_GUI
#define KC_MACOS TOG_MACOS_KEYMAP
-#define KC_MCTL KC_MISSION_CONTROL
-#define KC_LPAD KC_LAUNCHPAD