aboutsummaryrefslogtreecommitdiff
path: root/keyboards/palette1202
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/palette1202')
-rw-r--r--keyboards/palette1202/keyboard.json (renamed from keyboards/palette1202/info.json)10
-rw-r--r--keyboards/palette1202/lib/oled_helper.c2
-rw-r--r--keyboards/palette1202/rules.mk15
3 files changed, 11 insertions, 16 deletions
diff --git a/keyboards/palette1202/info.json b/keyboards/palette1202/keyboard.json
index 99f43a73f2..db2a83573a 100644
--- a/keyboards/palette1202/info.json
+++ b/keyboards/palette1202/keyboard.json
@@ -8,6 +8,16 @@
"pid": "0x1202",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": false,
+ "command": true,
+ "console": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "oled": true
+ },
"matrix_pins": {
"cols": ["C6", "D7", "E6", "B4", "B5"],
"rows": ["B6", "B2", "B3"]
diff --git a/keyboards/palette1202/lib/oled_helper.c b/keyboards/palette1202/lib/oled_helper.c
index 38608e5a6c..9e46da921d 100644
--- a/keyboards/palette1202/lib/oled_helper.c
+++ b/keyboards/palette1202/lib/oled_helper.c
@@ -1,5 +1,5 @@
#include "oled_helper.h"
-#include "quantum.h"
+#include "oled_driver.h"
#include <stdio.h>
#include <string.h>
diff --git a/keyboards/palette1202/rules.mk b/keyboards/palette1202/rules.mk
index 8876586f4b..37d8ebf017 100644
--- a/keyboards/palette1202/rules.mk
+++ b/keyboards/palette1202/rules.mk
@@ -1,17 +1,2 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # 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
-ENCODER_ENABLE = yes # Enable support for rotary encoders
-OLED_ENABLE = yes
-
# Additional code
SRC += lib/oled_helper.c # Adding OLED