aboutsummaryrefslogtreecommitdiff
path: root/keyboards/maple_computing/the_ruler
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/maple_computing/the_ruler')
-rw-r--r--keyboards/maple_computing/the_ruler/keyboard.json (renamed from keyboards/maple_computing/the_ruler/info.json)9
-rw-r--r--keyboards/maple_computing/the_ruler/keymaps/default/keymap.c18
-rw-r--r--keyboards/maple_computing/the_ruler/rules.mk12
3 files changed, 9 insertions, 30 deletions
diff --git a/keyboards/maple_computing/the_ruler/info.json b/keyboards/maple_computing/the_ruler/keyboard.json
index 9ba1355fdd..c38af0a320 100644
--- a/keyboards/maple_computing/the_ruler/info.json
+++ b/keyboards/maple_computing/the_ruler/keyboard.json
@@ -27,6 +27,15 @@
"ws2812": {
"pin": "E6"
},
+ "features": {
+ "bootmagic": false,
+ "command": true,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["D6", "D7", "B4", "B5", "B6", "C6"],
"rows": ["C7"]
diff --git a/keyboards/maple_computing/the_ruler/keymaps/default/keymap.c b/keyboards/maple_computing/the_ruler/keymaps/default/keymap.c
index 87190f0b3f..6ef57fd895 100644
--- a/keyboards/maple_computing/the_ruler/keymaps/default/keymap.c
+++ b/keyboards/maple_computing/the_ruler/keymaps/default/keymap.c
@@ -9,12 +9,6 @@
#define _FN_1 1
#define _FN_2 2
-enum custom_keycodes {
- DEFAULT = SAFE_RANGE,
- FN_1,
- FN_2
-};
-
// Defines for task manager and such
#define CALTDEL LCTL(LALT(KC_DEL))
#define TSKMGR LCTL(LSFT(KC_ESC))
@@ -49,15 +43,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-
-void persistant_default_layer_set(uint16_t default_layer) {
- eeconfig_update_default_layer(default_layer);
- default_layer_set(default_layer);
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- // NONE
- }
- return true;
-}
diff --git a/keyboards/maple_computing/the_ruler/rules.mk b/keyboards/maple_computing/the_ruler/rules.mk
deleted file mode 100644
index 473689d814..0000000000
--- a/keyboards/maple_computing/the_ruler/rules.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-AUDIO_ENABLE = no # Audio output
-RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.