diff options
Diffstat (limited to 'keyboards/bobpad')
-rw-r--r-- | keyboards/bobpad/bobpad.c | 2 | ||||
-rw-r--r-- | keyboards/bobpad/keyboard.json (renamed from keyboards/bobpad/info.json) | 9 | ||||
-rw-r--r-- | keyboards/bobpad/rules.mk | 14 |
3 files changed, 10 insertions, 15 deletions
diff --git a/keyboards/bobpad/bobpad.c b/keyboards/bobpad/bobpad.c index 67b124ace2..83b4dbaad0 100644 --- a/keyboards/bobpad/bobpad.c +++ b/keyboards/bobpad/bobpad.c @@ -19,7 +19,7 @@ bool led_update_kb(led_t led_state) { if (!led_update_user(led_state)) { return false; } - writePin(LED_CAPS_LOCK_PIN, led_state.caps_lock); + gpio_write_pin(LED_CAPS_LOCK_PIN, led_state.caps_lock); return true; }; diff --git a/keyboards/bobpad/info.json b/keyboards/bobpad/keyboard.json index eb6a25104b..feddbbf222 100644 --- a/keyboards/bobpad/info.json +++ b/keyboards/bobpad/keyboard.json @@ -8,6 +8,15 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false + }, "matrix_pins": { "cols": ["F6", "F5", "F4"], "rows": ["F7", "B1"] diff --git a/keyboards/bobpad/rules.mk b/keyboards/bobpad/rules.mk deleted file mode 100644 index 453f0a34d3..0000000000 --- a/keyboards/bobpad/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes |