diff options
Diffstat (limited to 'keyboards/team0110/p1800fl')
-rw-r--r-- | keyboards/team0110/p1800fl/keyboard.json (renamed from keyboards/team0110/p1800fl/info.json) | 10 | ||||
-rw-r--r-- | keyboards/team0110/p1800fl/p1800fl.c | 6 | ||||
-rw-r--r-- | keyboards/team0110/p1800fl/rules.mk | 12 |
3 files changed, 13 insertions, 15 deletions
diff --git a/keyboards/team0110/p1800fl/info.json b/keyboards/team0110/p1800fl/keyboard.json index d329c6de29..d5a34de049 100644 --- a/keyboards/team0110/p1800fl/info.json +++ b/keyboards/team0110/p1800fl/keyboard.json @@ -8,6 +8,16 @@ "pid": "0x3EAE", "device_version": "0.0.1" }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0", "B1", "B2", "B3", "D0", "D1", "D2"], "rows": ["B6", "B5", "B4", "D7", "D6", "D4"] diff --git a/keyboards/team0110/p1800fl/p1800fl.c b/keyboards/team0110/p1800fl/p1800fl.c index c82507ec27..9f47b8a5c4 100644 --- a/keyboards/team0110/p1800fl/p1800fl.c +++ b/keyboards/team0110/p1800fl/p1800fl.c @@ -19,9 +19,9 @@ bool led_update_kb(led_t led_state) { bool res = led_update_user(led_state); if(res) { - writePin(D3, led_state.num_lock); - writePin(D5, led_state.caps_lock); - writePin(C6, led_state.scroll_lock); + gpio_write_pin(D3, led_state.num_lock); + gpio_write_pin(D5, led_state.caps_lock); + gpio_write_pin(C6, led_state.scroll_lock); } return res; } diff --git a/keyboards/team0110/p1800fl/rules.mk b/keyboards/team0110/p1800fl/rules.mk deleted file mode 100644 index 3d5cb57ad5..0000000000 --- a/keyboards/team0110/p1800fl/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 = no # 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 |