diff options
Diffstat (limited to 'keyboards/akko')
-rw-r--r-- | keyboards/akko/5087/5087.c | 12 | ||||
-rw-r--r-- | keyboards/akko/5087/config.h | 5 | ||||
-rw-r--r-- | keyboards/akko/5087/keyboard.json (renamed from keyboards/akko/5087/info.json) | 6 | ||||
-rw-r--r-- | keyboards/akko/5087/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/akko/5108/5108.c | 6 | ||||
-rw-r--r-- | keyboards/akko/5108/config.h | 5 | ||||
-rw-r--r-- | keyboards/akko/5108/keyboard.json (renamed from keyboards/akko/5108/info.json) | 6 | ||||
-rw-r--r-- | keyboards/akko/5108/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/akko/acr87/config.h | 5 | ||||
-rw-r--r-- | keyboards/akko/acr87/keyboard.json (renamed from keyboards/akko/acr87/info.json) | 6 | ||||
-rw-r--r-- | keyboards/akko/acr87/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/akko/top40/config.h | 5 | ||||
-rw-r--r-- | keyboards/akko/top40/keyboard.json (renamed from keyboards/akko/top40/info.json) | 6 | ||||
-rw-r--r-- | keyboards/akko/top40/rules.mk | 1 |
14 files changed, 33 insertions, 33 deletions
diff --git a/keyboards/akko/5087/5087.c b/keyboards/akko/5087/5087.c index 7dd614b456..746a9a7816 100644 --- a/keyboards/akko/5087/5087.c +++ b/keyboards/akko/5087/5087.c @@ -137,17 +137,17 @@ enum __layers { // clang-format on void matrix_init_kb(void) { - setPinOutput(LED_MAC_OS_PIN); // LDE2 MAC\WIN - writePinLow(LED_MAC_OS_PIN); - setPinOutput(LED_WIN_LOCK_PIN); // LED3 Win Lock - writePinLow(LED_WIN_LOCK_PIN); + gpio_set_pin_output(LED_MAC_OS_PIN); // LDE2 MAC\WIN + gpio_write_pin_low(LED_MAC_OS_PIN); + gpio_set_pin_output(LED_WIN_LOCK_PIN); // LED3 Win Lock + gpio_write_pin_low(LED_WIN_LOCK_PIN); matrix_init_user(); } void housekeeping_task_kb(void){ - writePin(LED_MAC_OS_PIN, (get_highest_layer(default_layer_state) == 3)); - writePin(LED_WIN_LOCK_PIN, keymap_config.no_gui); + gpio_write_pin(LED_MAC_OS_PIN, (get_highest_layer(default_layer_state) == 3)); + gpio_write_pin(LED_WIN_LOCK_PIN, keymap_config.no_gui); } bool process_record_kb(uint16_t keycode, keyrecord_t* record) { diff --git a/keyboards/akko/5087/config.h b/keyboards/akko/5087/config.h index ceb9872738..888dfa6f80 100644 --- a/keyboards/akko/5087/config.h +++ b/keyboards/akko/5087/config.h @@ -20,11 +20,6 @@ #define LED_MAC_OS_PIN C10 #define LED_WIN_LOCK_PIN C11 -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - /* SPI Config for spi flash*/ #define SPI_DRIVER SPIDQ #define SPI_SCK_PIN B3 diff --git a/keyboards/akko/5087/info.json b/keyboards/akko/5087/keyboard.json index 67ea54c169..a2f72351ed 100644 --- a/keyboards/akko/5087/info.json +++ b/keyboards/akko/5087/keyboard.json @@ -21,6 +21,12 @@ "nkro": true, "rgb_matrix": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "dynamic_keymap": { "layer_count": 6 }, diff --git a/keyboards/akko/5087/rules.mk b/keyboards/akko/5087/rules.mk deleted file mode 100644 index 6e7633bfe0..0000000000 --- a/keyboards/akko/5087/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank diff --git a/keyboards/akko/5108/5108.c b/keyboards/akko/5108/5108.c index 91526289b6..7330707f45 100644 --- a/keyboards/akko/5108/5108.c +++ b/keyboards/akko/5108/5108.c @@ -148,15 +148,15 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = { #endif void keyboard_pre_init_kb(void) { - setPinOutput(LED_WIN_LOCK_PIN); // LED3 Win Lock - writePinLow(LED_WIN_LOCK_PIN); + gpio_set_pin_output(LED_WIN_LOCK_PIN); // LED3 Win Lock + gpio_write_pin_low(LED_WIN_LOCK_PIN); keyboard_pre_init_user(); } bool led_update_kb(led_t led_state) { bool res = led_update_user(led_state); if (res) { - writePin(LED_WIN_LOCK_PIN, keymap_config.no_gui); + gpio_write_pin(LED_WIN_LOCK_PIN, keymap_config.no_gui); } return res; } diff --git a/keyboards/akko/5108/config.h b/keyboards/akko/5108/config.h index 6a509733d6..f3d8ed4d67 100644 --- a/keyboards/akko/5108/config.h +++ b/keyboards/akko/5108/config.h @@ -19,11 +19,6 @@ /* LED Indicators */ #define LED_WIN_LOCK_PIN C11 -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - /* SPI Config for spi flash*/ #define SPI_DRIVER SPIDQ #define SPI_SCK_PIN B3 diff --git a/keyboards/akko/5108/info.json b/keyboards/akko/5108/keyboard.json index 5e97d151c3..e98e421089 100644 --- a/keyboards/akko/5108/info.json +++ b/keyboards/akko/5108/keyboard.json @@ -21,6 +21,12 @@ "nkro": true, "rgb_matrix": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": [ "C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14"], "rows": ["B15", "C6", "C7", "C8", "C9", "A8"] diff --git a/keyboards/akko/5108/rules.mk b/keyboards/akko/5108/rules.mk deleted file mode 100644 index 6e7633bfe0..0000000000 --- a/keyboards/akko/5108/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank diff --git a/keyboards/akko/acr87/config.h b/keyboards/akko/acr87/config.h index cdc4b6011a..dc309c4a41 100644 --- a/keyboards/akko/acr87/config.h +++ b/keyboards/akko/acr87/config.h @@ -16,11 +16,6 @@ #pragma once -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - /* SPI Config for spi flash*/ #define SPI_DRIVER SPIDQ #define SPI_SCK_PIN B3 diff --git a/keyboards/akko/acr87/info.json b/keyboards/akko/acr87/keyboard.json index 2702ee7915..9f37a91b9a 100644 --- a/keyboards/akko/acr87/info.json +++ b/keyboards/akko/acr87/keyboard.json @@ -21,6 +21,12 @@ "nkro": true, "rgb_matrix": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": [ "C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2", "B10"], "rows": [ "B15", "C6", "C7", "C8", "C9", "A8"] diff --git a/keyboards/akko/acr87/rules.mk b/keyboards/akko/acr87/rules.mk deleted file mode 100644 index 6e7633bfe0..0000000000 --- a/keyboards/akko/acr87/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank diff --git a/keyboards/akko/top40/config.h b/keyboards/akko/top40/config.h index a23cf6db92..7924ae3214 100644 --- a/keyboards/akko/top40/config.h +++ b/keyboards/akko/top40/config.h @@ -16,11 +16,6 @@ #pragma once -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - /* SPI Config for spi flash*/ #define SPI_DRIVER SPIDQ #define SPI_SCK_PIN B3 diff --git a/keyboards/akko/top40/info.json b/keyboards/akko/top40/keyboard.json index 183c9242f4..fd7cf497e7 100644 --- a/keyboards/akko/top40/info.json +++ b/keyboards/akko/top40/keyboard.json @@ -21,6 +21,12 @@ "nkro": true, "rgb_matrix": true }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, "matrix_pins": { "cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4"], "rows": ["C7", "C8", "C9", "A8"] diff --git a/keyboards/akko/top40/rules.mk b/keyboards/akko/top40/rules.mk deleted file mode 100644 index 6e7633bfe0..0000000000 --- a/keyboards/akko/top40/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank |