aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ortho5by12
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ortho5by12')
-rw-r--r--keyboards/ortho5by12/keyboard.json (renamed from keyboards/ortho5by12/info.json)8
-rw-r--r--keyboards/ortho5by12/ortho5by12.c8
-rw-r--r--keyboards/ortho5by12/rules.mk12
3 files changed, 12 insertions, 16 deletions
diff --git a/keyboards/ortho5by12/info.json b/keyboards/ortho5by12/keyboard.json
index a107275b18..c45788ba2f 100644
--- a/keyboards/ortho5by12/info.json
+++ b/keyboards/ortho5by12/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0x27DB",
"device_version": "0.0.2"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["C2", "D0", "D1", "D4", "C3", "C1"],
"rows": ["B5", "B1", "B2", "B3", "B4", "C0", "D5", "D6", "D7", "B0"]
diff --git a/keyboards/ortho5by12/ortho5by12.c b/keyboards/ortho5by12/ortho5by12.c
index 29173749ae..d0d9ce9102 100644
--- a/keyboards/ortho5by12/ortho5by12.c
+++ b/keyboards/ortho5by12/ortho5by12.c
@@ -16,15 +16,15 @@
#include "quantum.h"
void matrix_init_kb(void) {
- setPinOutput(C4);
- setPinOutput(C5);
+ gpio_set_pin_output(C4);
+ gpio_set_pin_output(C5);
}
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if(res) {
- writePin(C4, led_state.num_lock);
- writePin(C5, led_state.caps_lock);
+ gpio_write_pin(C4, led_state.num_lock);
+ gpio_write_pin(C5, led_state.caps_lock);
}
return res;
}
diff --git a/keyboards/ortho5by12/rules.mk b/keyboards/ortho5by12/rules.mk
deleted file mode 100644
index 6fe874e748..0000000000
--- a/keyboards/ortho5by12/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 = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output