aboutsummaryrefslogtreecommitdiff
path: root/keyboards/eco
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/eco')
-rw-r--r--keyboards/eco/info.json10
-rw-r--r--keyboards/eco/keymaps/default/keymap.c21
-rw-r--r--keyboards/eco/rules.mk14
3 files changed, 10 insertions, 35 deletions
diff --git a/keyboards/eco/info.json b/keyboards/eco/info.json
index 6a1b2adda1..74c66fdcb9 100644
--- a/keyboards/eco/info.json
+++ b/keyboards/eco/info.json
@@ -3,6 +3,16 @@
"manufacturer": "Bishop Keyboards",
"url": "",
"maintainer": "qmk",
+ "features": {
+ "backlight": true,
+ "bootmagic": false,
+ "command": true,
+ "console": false,
+ "extrakey": true,
+ "midi": true,
+ "mousekey": false,
+ "nkro": false
+ },
"usb": {
"vid": "0x1337",
"pid": "0x6006"
diff --git a/keyboards/eco/keymaps/default/keymap.c b/keyboards/eco/keymaps/default/keymap.c
index 8867e11124..096d955e85 100644
--- a/keyboards/eco/keymaps/default/keymap.c
+++ b/keyboards/eco/keymaps/default/keymap.c
@@ -13,10 +13,6 @@
#define _FN1 2
#define _FN2 3
-enum eco_keycodes {
- QWERTY = SAFE_RANGE
-};
-
// Defines for task manager and such
#define CALTDEL LCTL(LALT(KC_DEL))
#define TSKMGR LCTL(LSFT(KC_ESC))
@@ -78,20 +74,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) {
- case QWERTY:
- if (record->event.pressed) {
- persistant_default_layer_set(1UL<<_QWERTY);
- }
- return false;
- break;
- }
- return true;
-}
diff --git a/keyboards/eco/rules.mk b/keyboards/eco/rules.mk
index 6e28ce6bbb..a3d419658b 100644
--- a/keyboards/eco/rules.mk
+++ b/keyboards/eco/rules.mk
@@ -1,15 +1 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # 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 = yes # Enable keyboard backlight functionality
-MIDI_ENABLE = yes # MIDI support
-AUDIO_ENABLE = no # Audio output
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
-
DEFAULT_FOLDER = eco/rev2