diff options
Diffstat (limited to 'keyboards/flx')
-rw-r--r-- | keyboards/flx/lodestone/keyboard.json (renamed from keyboards/flx/lodestone/info.json) | 11 | ||||
-rw-r--r-- | keyboards/flx/lodestone/rules.mk | 12 | ||||
-rw-r--r-- | keyboards/flx/virgo/keyboard.json (renamed from keyboards/flx/virgo/info.json) | 13 | ||||
-rw-r--r-- | keyboards/flx/virgo/rules.mk | 13 | ||||
-rw-r--r-- | keyboards/flx/virgo/virgo.c | 8 |
5 files changed, 28 insertions, 29 deletions
diff --git a/keyboards/flx/lodestone/info.json b/keyboards/flx/lodestone/keyboard.json index a7d6a18e86..c6dd4197da 100644 --- a/keyboards/flx/lodestone/info.json +++ b/keyboards/flx/lodestone/keyboard.json @@ -8,6 +8,17 @@ "pid": "0x4C53", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": ["B2", "F5", "F6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"], "rows": ["B3", "B7", "F0", "F1", "F4"] diff --git a/keyboards/flx/lodestone/rules.mk b/keyboards/flx/lodestone/rules.mk deleted file mode 100644 index dcdd2221bc..0000000000 --- a/keyboards/flx/lodestone/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 = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = yes diff --git a/keyboards/flx/virgo/info.json b/keyboards/flx/virgo/keyboard.json index d1e40b9ece..8396ce51da 100644 --- a/keyboards/flx/virgo/info.json +++ b/keyboards/flx/virgo/keyboard.json @@ -8,6 +8,19 @@ "pid": "0x5647", "device_version": "0.0.1" }, + "build": { + "lto": true + }, + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "B0", "B1"], "rows": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"] diff --git a/keyboards/flx/virgo/rules.mk b/keyboards/flx/virgo/rules.mk deleted file mode 100644 index cafe30d929..0000000000 --- a/keyboards/flx/virgo/rules.mk +++ /dev/null @@ -1,13 +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 = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = yes diff --git a/keyboards/flx/virgo/virgo.c b/keyboards/flx/virgo/virgo.c index 5260e15322..2f875531d0 100644 --- a/keyboards/flx/virgo/virgo.c +++ b/keyboards/flx/virgo/virgo.c @@ -20,15 +20,15 @@ void matrix_init_kb(void) { // put your keyboard start-up code here // runs once when the firmware starts up - setPinOutput(E6); - setPinOutput(B2); + gpio_set_pin_output(E6); + gpio_set_pin_output(B2); matrix_init_user(); } bool led_update_kb(led_t led_state) { if(led_update_user(led_state)) { - writePin(E6, !led_state.caps_lock); - writePin(B2, !led_state.scroll_lock); + gpio_write_pin(E6, !led_state.caps_lock); + gpio_write_pin(B2, !led_state.scroll_lock); } return true; } |