aboutsummaryrefslogtreecommitdiff
path: root/keyboards/switchplate
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/switchplate')
-rw-r--r--keyboards/switchplate/southpaw_65/matrix.c6
-rw-r--r--keyboards/switchplate/southpaw_fullsize/keyboard.json (renamed from keyboards/switchplate/southpaw_fullsize/info.json)9
-rw-r--r--keyboards/switchplate/southpaw_fullsize/rules.mk12
-rw-r--r--keyboards/switchplate/switchplate910/keyboard.json (renamed from keyboards/switchplate/switchplate910/info.json)9
-rw-r--r--keyboards/switchplate/switchplate910/rules.mk12
5 files changed, 21 insertions, 27 deletions
diff --git a/keyboards/switchplate/southpaw_65/matrix.c b/keyboards/switchplate/southpaw_65/matrix.c
index e24dcef853..a7008e9c7d 100644
--- a/keyboards/switchplate/southpaw_65/matrix.c
+++ b/keyboards/switchplate/southpaw_65/matrix.c
@@ -54,9 +54,9 @@ static uint32_t read_cols(void) {
uint8_t state_1 = 0;
uint8_t state_2 = 0;
uint8_t state_3 = 0;
- pca9555_readPins(IC1, PCA9555_PORT1, &state_1);
- pca9555_readPins(IC2, PCA9555_PORT0, &state_2);
- pca9555_readPins(IC2, PCA9555_PORT1, &state_3);
+ pca9555_read_pins(IC1, PCA9555_PORT1, &state_1);
+ pca9555_read_pins(IC2, PCA9555_PORT0, &state_2);
+ pca9555_read_pins(IC2, PCA9555_PORT1, &state_3);
uint32_t state = ((((uint32_t)state_3 & 0b01111111) << 12) | ((uint32_t)state_2 << 4) | (((uint32_t)state_1 & 0b11110000) >> 4));
return ~state;
diff --git a/keyboards/switchplate/southpaw_fullsize/info.json b/keyboards/switchplate/southpaw_fullsize/keyboard.json
index 3397418adf..822fc66081 100644
--- a/keyboards/switchplate/southpaw_fullsize/info.json
+++ b/keyboards/switchplate/southpaw_fullsize/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x0017",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": true,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["A7", "C7", "C6", "C5", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "E0", "D7", "D6"],
"rows": ["E1", "C0", "C1", "C2", "C3", "C4"]
diff --git a/keyboards/switchplate/southpaw_fullsize/rules.mk b/keyboards/switchplate/southpaw_fullsize/rules.mk
deleted file mode 100644
index 3cd23319a2..0000000000
--- a/keyboards/switchplate/southpaw_fullsize/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 = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/switchplate/switchplate910/info.json b/keyboards/switchplate/switchplate910/keyboard.json
index 7c9d9ba62d..40a2a24637 100644
--- a/keyboards/switchplate/switchplate910/info.json
+++ b/keyboards/switchplate/switchplate910/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x2065",
"device_version": "0.0.1"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "B3", "B2", "B0", "B1"],
"rows": ["F4", "F5", "F6", "F7", "D1"]
diff --git a/keyboards/switchplate/switchplate910/rules.mk b/keyboards/switchplate/switchplate910/rules.mk
deleted file mode 100644
index 14e80e7106..0000000000
--- a/keyboards/switchplate/switchplate910/rules.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # 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 = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output