diff options
Diffstat (limited to 'keyboards/quad_h/lb75')
-rw-r--r-- | keyboards/quad_h/lb75/keyboard.json (renamed from keyboards/quad_h/lb75/info.json) | 10 | ||||
-rw-r--r-- | keyboards/quad_h/lb75/lb75.c | 8 | ||||
-rw-r--r-- | keyboards/quad_h/lb75/rules.mk | 12 |
3 files changed, 14 insertions, 16 deletions
diff --git a/keyboards/quad_h/lb75/info.json b/keyboards/quad_h/lb75/keyboard.json index 16701a5e99..98bcde60cc 100644 --- a/keyboards/quad_h/lb75/info.json +++ b/keyboards/quad_h/lb75/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["D2", "D1", "D0", "F1", "F4", "F5", "F6", "F7"], "rows": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "D3", "D5", "F0", "E6"] diff --git a/keyboards/quad_h/lb75/lb75.c b/keyboards/quad_h/lb75/lb75.c index 4c8e4f929b..ef716092b9 100644 --- a/keyboards/quad_h/lb75/lb75.c +++ b/keyboards/quad_h/lb75/lb75.c @@ -20,8 +20,8 @@ void matrix_init_kb(void) { // put your keyboard start-up code here // runs once when the firmware starts up - setPinOutput(B1); - setPinOutput(B2); + gpio_set_pin_output(B1); + gpio_set_pin_output(B2); matrix_init_user(); } @@ -30,8 +30,8 @@ bool led_update_kb(led_t led_state) { bool res = led_update_user(led_state); if(res) { - writePin(B1, !led_state.caps_lock); - writePin(B2, !led_state.scroll_lock); + gpio_write_pin(B1, !led_state.caps_lock); + gpio_write_pin(B2, !led_state.scroll_lock); } return res; diff --git a/keyboards/quad_h/lb75/rules.mk b/keyboards/quad_h/lb75/rules.mk deleted file mode 100644 index 4537738380..0000000000 --- a/keyboards/quad_h/lb75/rules.mk +++ /dev/null @@ -1,12 +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 = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output |