@@ -1,24 +0,0 @@
-#include "quantum.h"
-
-void keyboard_pre_init_kb(void) {
- setPinOutput(B7); // caps lock
- writePinHigh(B7);
- setPinOutput(C5); // num lock
- writePinHigh(C7);
- setPinOutput(C6); // scroll lock
- writePinHigh(C6);
- keyboard_pre_init_user();
-}
-bool led_update_kb(led_t usb_led) {
- // user requests no further processing
- if (!led_update_user(usb_led))
- return true;
- writePin(C5, !usb_led.num_lock);
- writePin(B7, !usb_led.caps_lock);
- writePin(C6, !usb_led.scroll_lock);
@@ -0,0 +1,16 @@
+{
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
+ "indicators": {
+ "caps_lock": "B7",
+ "num_lock": "C5",
+ "scroll_lock": "C6",
+ "on_state": 0
+ }
+}
@@ -1,14 +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 = 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
-AUDIO_ENABLE = no # Audio output
CUSTOM_MATRIX = lite
SRC += 20130602/matrix.c
- setPinOutput(B7); // num lock
- setPinOutput(C5); // caps lock
- writePin(C5, !usb_led.caps_lock);
- writePin(B7, !usb_led.num_lock);
+ "caps_lock": "C5",
+ "num_lock": "B7",
SRC += 20140521/matrix.c
@@ -8,6 +8,19 @@
"pid": "0x0621",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ "mousekey": false,
+ "nkro": true,
+ "rgblight": true,
+ "rgb_matrix": true
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
@@ -1,15 +1 @@
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-NKRO_ENABLE = yes # Enable N-Key Rollover
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-RGB_MATRIX_ENABLE = yes # Use RGB matrix
-LTO_ENABLE = yes
+# This file intentionally left blank
@@ -8,6 +8,15 @@
"pid": "0x0C60",
"device_version": "1.0.0"
+ "bootmagic": false,
+ "nkro": false,
+ "rgblight": true
"led_count": 1
@@ -20,6 +29,7 @@
"diode_direction": "ROW2COL",
"split": {
+ "enabled": true,
"soft_serial_pin": "D0"
"processor": "atmega32u4",
@@ -1 +1 @@
-RGBLIGHT_ENABLE = yes
@@ -1,16 +1 @@
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
-SPLIT_KEYBOARD = yes
DEFAULT_FOLDER = handwired/qc60/proto
@@ -8,12 +8,21 @@
"pid": "0x6063",
+ "command": true,
"matrix_pins": {
"cols": ["B2", "B6", "B1", "B3", "F7", "F5", "F6"],
"rows": ["C6", "D7", "E6", "B4", "B5"]
"diode_direction": "COL2ROW",
"soft_serial_pin": "D0",
"right": {
-COMMAND_ENABLE = yes # Commands for debug and configuration
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-DEFAULT_FOLDER = handwired/stef9998/split_5x7/rev1
+DEFAULT_FOLDER = handwired/stef9998/split_5x7/rev1
@@ -0,0 +1,3 @@
+ "development_board": "blackpill_f401"
@@ -1,3 +0,0 @@
-# MCU name
-MCU = STM32F401
-BOARD = BLACKPILL_STM32_F401
+ "development_board": "blackpill_f411"
-MCU = STM32F411
-BOARD = BLACKPILL_STM32_F411
@@ -3,7 +3,6 @@
"keyboard_name": "Sugar Glider",
"maintainer": "kylemccreery",
"url": "https://mechwild.com/product/sugar-glider/",
- "bootloader": "stm32-dfu",
"features": {
"bootmagic": true,
"command": false,
"pid": "0x0068",
"rgb_matrix": {
"animations": {
"alphas_mods": true,
@@ -1,12 +1 @@
"pid": "0x7075",
@@ -1,13 +1 @@
-NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
@@ -8,6 +8,18 @@
"pid": "0x0081",
"pid": "0x6570",
"pid": "0x0001",
"device_version": "0.0.2"
+ "encoder": true,
"cols": ["C6", "B6", "B5", "D7", "D6", "D4"],
"rows": ["B4", "D5", "B3", "B2", "B1", "B0"]
@@ -19,6 +28,7 @@
]
"soft_serial_pin": "E6",
"encoder": {
@@ -1,14 +1 @@
-SPLIT_KEYBOARD = yes # Enable split keyboard mode
-ENCODER_ENABLE = yes
@@ -8,6 +8,14 @@
"pid": "0x0010",
"cols": ["A6", "A5", "A4", "A3", "A2", "A1", "F0", "B7", "B6", "B5", "B4", "B3"],
"rows": ["B1", "B0", "A7", "F1", "A0"]
"pid": "0x0A0C",
+ "console": true,
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"],
"rows": ["D4", "C6", "D7", "E6"]
-OLED_ENABLE = no
@@ -0,0 +1,5 @@
+ "oled": true
@@ -1 +0,0 @@
-OLED_ENABLE = yes
@@ -1,18 +1 @@
-CONSOLE_ENABLE = yes # Console for debug
-# Enable generic behavior for split boards
DEFAULT_FOLDER = spacetime/rev1
@@ -7,6 +7,18 @@
"pid": "0x0404",
+ "space_cadet": false
"backlight": {
"pin": "D5",
"levels": 6
@@ -1,15 +0,0 @@
-SPACE_CADET_ENABLE = no
-# Saves about 5% of space: