aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keyboardio/model01
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keyboardio/model01')
-rw-r--r--keyboards/keyboardio/model01/keyboard.json (renamed from keyboards/keyboardio/model01/info.json)7
-rw-r--r--keyboards/keyboardio/model01/leds.c3
-rw-r--r--keyboards/keyboardio/model01/leds.h3
-rw-r--r--keyboards/keyboardio/model01/matrix.c2
-rw-r--r--keyboards/keyboardio/model01/model01.c4
-rw-r--r--keyboards/keyboardio/model01/rules.mk13
6 files changed, 13 insertions, 19 deletions
diff --git a/keyboards/keyboardio/model01/info.json b/keyboards/keyboardio/model01/keyboard.json
index fd17535be4..c2438047b0 100644
--- a/keyboards/keyboardio/model01/info.json
+++ b/keyboards/keyboardio/model01/keyboard.json
@@ -110,6 +110,13 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "features": {
+ "bootmagic": false,
+ "mousekey": true,
+ "extrakey": true,
+ "console": true,
+ "rgb_matrix": true
+ },
"debounce": 0,
"layouts": {
"LAYOUT": {
diff --git a/keyboards/keyboardio/model01/leds.c b/keyboards/keyboardio/model01/leds.c
index 3fb502cb27..656e176bfa 100644
--- a/keyboards/keyboardio/model01/leds.c
+++ b/keyboards/keyboardio/model01/leds.c
@@ -13,7 +13,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "quantum.h"
+
+#include "leds.h"
#include "i2c_master.h"
#include "led_tables.h"
#include "rgb_matrix.h"
diff --git a/keyboards/keyboardio/model01/leds.h b/keyboards/keyboardio/model01/leds.h
index 4d185919b0..6f5e12a6a8 100644
--- a/keyboards/keyboardio/model01/leds.h
+++ b/keyboards/keyboardio/model01/leds.h
@@ -15,8 +15,7 @@
*/
#pragma once
-#include "quantum.h"
-#include "rgb_matrix.h"
+#include <stdint.h>
void set_all_leds_to(uint8_t r, uint8_t g, uint8_t b);
void set_led_to(int led, uint8_t r, uint8_t g, uint8_t b);
diff --git a/keyboards/keyboardio/model01/matrix.c b/keyboards/keyboardio/model01/matrix.c
index 4b788d2812..20359ca971 100644
--- a/keyboards/keyboardio/model01/matrix.c
+++ b/keyboards/keyboardio/model01/matrix.c
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "quantum.h"
+#include "matrix.h"
#include "i2c_master.h"
#include <string.h>
#include "model01.h"
diff --git a/keyboards/keyboardio/model01/model01.c b/keyboards/keyboardio/model01/model01.c
index 3644f04516..33198423de 100644
--- a/keyboards/keyboardio/model01/model01.c
+++ b/keyboards/keyboardio/model01/model01.c
@@ -13,10 +13,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "quantum.h"
+
+#include "model01.h"
#include "i2c_master.h"
#include <string.h>
-#include "model01.h"
void matrix_init_kb(void) {
/* the bootloader can leave LEDs on, so */
diff --git a/keyboards/keyboardio/model01/rules.mk b/keyboards/keyboardio/model01/rules.mk
index 29e1f4fea8..952c9f6a4e 100644
--- a/keyboards/keyboardio/model01/rules.mk
+++ b/keyboards/keyboardio/model01/rules.mk
@@ -1,17 +1,4 @@
-# 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 = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-
CUSTOM_MATRIX = yes
I2C_DRIVER_REQUIRED = yes
SRC += leds.c \
matrix.c
-
-# You can set RGB_MATRIX_ENABLE = no in your rules.mk to disable this and save the Flash
-RGB_MATRIX_ENABLE = yes # Enable RGB matrix effects.