aboutsummaryrefslogtreecommitdiff
path: root/keyboards/peej/rosaline
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/peej/rosaline')
-rw-r--r--keyboards/peej/rosaline/ortho/keyboard.json (renamed from keyboards/peej/rosaline/ortho/info.json)6
-rw-r--r--keyboards/peej/rosaline/ortho/rules.mk12
-rw-r--r--keyboards/peej/rosaline/rosaline.c4
-rw-r--r--keyboards/peej/rosaline/staggered/keyboard.json (renamed from keyboards/peej/rosaline/staggered/info.json)6
-rw-r--r--keyboards/peej/rosaline/staggered/rules.mk12
5 files changed, 14 insertions, 26 deletions
diff --git a/keyboards/peej/rosaline/ortho/info.json b/keyboards/peej/rosaline/ortho/keyboard.json
index 9fb9d3cb40..49c3b9fb92 100644
--- a/keyboards/peej/rosaline/ortho/info.json
+++ b/keyboards/peej/rosaline/ortho/keyboard.json
@@ -9,6 +9,12 @@
"device_version": "0.0.1",
"max_power": 100
},
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"],
"rows": ["C0", "B5", "B4", "B3", "B2", "B1", "C3", "D5"]
diff --git a/keyboards/peej/rosaline/ortho/rules.mk b/keyboards/peej/rosaline/ortho/rules.mk
deleted file mode 100644
index ab2c49da70..0000000000
--- a/keyboards/peej/rosaline/ortho/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 = no # 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/peej/rosaline/rosaline.c b/keyboards/peej/rosaline/rosaline.c
index df0594da44..0ebcb76660 100644
--- a/keyboards/peej/rosaline/rosaline.c
+++ b/keyboards/peej/rosaline/rosaline.c
@@ -17,13 +17,13 @@
#include "quantum.h"
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- writePin(LED1, record->event.pressed);
+ gpio_write_pin(LED1, record->event.pressed);
return process_record_user(keycode, record);
}
layer_state_t layer_state_set_kb(layer_state_t state) {
- writePin(LED2, state);
+ gpio_write_pin(LED2, state);
return layer_state_set_user(state);
}
diff --git a/keyboards/peej/rosaline/staggered/info.json b/keyboards/peej/rosaline/staggered/keyboard.json
index 0679203163..ed4de2313f 100644
--- a/keyboards/peej/rosaline/staggered/info.json
+++ b/keyboards/peej/rosaline/staggered/keyboard.json
@@ -9,6 +9,12 @@
"device_version": "0.0.1",
"max_power": 100
},
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"],
"rows": ["C0", "B5", "B4", "B3", "B2", "B1", "C3", "D5"]
diff --git a/keyboards/peej/rosaline/staggered/rules.mk b/keyboards/peej/rosaline/staggered/rules.mk
deleted file mode 100644
index ab2c49da70..0000000000
--- a/keyboards/peej/rosaline/staggered/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 = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output