summaryrefslogtreecommitdiff
path: root/keyboards/yandrstudio/yr80
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yandrstudio/yr80')
-rw-r--r--keyboards/yandrstudio/yr80/config.h1
-rw-r--r--keyboards/yandrstudio/yr80/yr80.c34
-rw-r--r--keyboards/yandrstudio/yr80/yr80.h21
3 files changed, 0 insertions, 56 deletions
diff --git a/keyboards/yandrstudio/yr80/config.h b/keyboards/yandrstudio/yr80/config.h
index ced858fafd..b5f122fdc8 100644
--- a/keyboards/yandrstudio/yr80/config.h
+++ b/keyboards/yandrstudio/yr80/config.h
@@ -15,7 +15,6 @@
*/
#pragma once
-#include "config_common.h"
#ifdef RGBLIGHT_ENABLE
diff --git a/keyboards/yandrstudio/yr80/yr80.c b/keyboards/yandrstudio/yr80/yr80.c
index 16415bf9ab..2752dc9230 100644
--- a/keyboards/yandrstudio/yr80/yr80.c
+++ b/keyboards/yandrstudio/yr80/yr80.c
@@ -37,37 +37,3 @@ void keyboard_post_init_kb(void) {
}
#endif
-
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- if (!process_record_user(keycode, record)) { return false; }
- switch(keycode) {
- case KC_LG:
- if (record->event.pressed) {
- process_magic(GUI_TOG, record);
- }
- return false;
- case KC_MACOS:
- if (record->event.pressed) {
- 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;
- }
- return true;
-}
diff --git a/keyboards/yandrstudio/yr80/yr80.h b/keyboards/yandrstudio/yr80/yr80.h
index 11cec853c3..79cbfca91b 100644
--- a/keyboards/yandrstudio/yr80/yr80.h
+++ b/keyboards/yandrstudio/yr80/yr80.h
@@ -33,24 +33,3 @@
{ K400, KC_NO, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, KC_NO, KC_NO, KC_NO, K416 }, \
{ K500, K501, K502, KC_NO, KC_NO, KC_NO, K506, K507, K508, K509, K510, KC_NO, KC_NO, KC_NO, K514, K515, K516 } \
}
-
-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