aboutsummaryrefslogtreecommitdiff
path: root/keyboards/protozoa
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/protozoa')
-rw-r--r--keyboards/protozoa/cassini/keyboard.json (renamed from keyboards/protozoa/cassini/info.json)6
-rw-r--r--keyboards/protozoa/cassini/rules.mk13
-rw-r--r--keyboards/protozoa/event_horizon/event_horizon.c2
-rw-r--r--keyboards/protozoa/event_horizon/keyboard.json (renamed from keyboards/protozoa/event_horizon/info.json)0
-rw-r--r--keyboards/protozoa/p01/config.h4
-rw-r--r--keyboards/protozoa/p01/keyboard.json (renamed from keyboards/protozoa/p01/info.json)8
-rw-r--r--keyboards/protozoa/p01/rules.mk14
7 files changed, 17 insertions, 30 deletions
diff --git a/keyboards/protozoa/cassini/info.json b/keyboards/protozoa/cassini/keyboard.json
index 079679be43..696480024f 100644
--- a/keyboards/protozoa/cassini/info.json
+++ b/keyboards/protozoa/cassini/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x4341",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
"matrix_pins": {
"cols": ["A1", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "B2", "B10", "B11", "B12", "B13", "B14"],
"rows": ["A2", "B9", "B8", "B5", "B4"]
diff --git a/keyboards/protozoa/cassini/rules.mk b/keyboards/protozoa/cassini/rules.mk
index 7c0709f41e..0ab54aaaf7 100644
--- a/keyboards/protozoa/cassini/rules.mk
+++ b/keyboards/protozoa/cassini/rules.mk
@@ -1,15 +1,2 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
-
-# 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
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/protozoa/event_horizon/event_horizon.c b/keyboards/protozoa/event_horizon/event_horizon.c
index 544d7c32b2..a8977a0e03 100644
--- a/keyboards/protozoa/event_horizon/event_horizon.c
+++ b/keyboards/protozoa/event_horizon/event_horizon.c
@@ -17,5 +17,5 @@
void led_init_ports(void) {
// Set our LED pins as open drain outputs
- setPinOutputOpenDrain(LED_CAPS_LOCK_PIN);
+ gpio_set_pin_output_open_drain(LED_CAPS_LOCK_PIN);
}
diff --git a/keyboards/protozoa/event_horizon/info.json b/keyboards/protozoa/event_horizon/keyboard.json
index 42482c09ba..42482c09ba 100644
--- a/keyboards/protozoa/event_horizon/info.json
+++ b/keyboards/protozoa/event_horizon/keyboard.json
diff --git a/keyboards/protozoa/p01/config.h b/keyboards/protozoa/p01/config.h
index fd58bda912..3b14a164f6 100644
--- a/keyboards/protozoa/p01/config.h
+++ b/keyboards/protozoa/p01/config.h
@@ -21,5 +21,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_PWM_DRIVER PWMD1
#define WS2812_PWM_CHANNEL 2
#define WS2812_PWM_PAL_MODE 2
-#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
-#define WS2812_DMA_CHANNEL 5
+#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM5
+#define WS2812_PWM_DMA_CHANNEL 5
diff --git a/keyboards/protozoa/p01/info.json b/keyboards/protozoa/p01/keyboard.json
index f414d6d71a..4b45385552 100644
--- a/keyboards/protozoa/p01/info.json
+++ b/keyboards/protozoa/p01/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0x5031",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true
+ },
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
diff --git a/keyboards/protozoa/p01/rules.mk b/keyboards/protozoa/p01/rules.mk
index adb0000e01..0ab54aaaf7 100644
--- a/keyboards/protozoa/p01/rules.mk
+++ b/keyboards/protozoa/p01/rules.mk
@@ -1,16 +1,2 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
-
-# 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
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes # Encoder support