Data-Driven Keyboard Conversions: I (#23533)

master
James Young 2024-04-16 16:15:34 -07:00 committed by GitHub
parent 783eb01037
commit 7be23a9cb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with 81 additions and 148 deletions

View File

@ -16,6 +16,18 @@
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "lufa-dfu", "bootloader": "lufa-dfu",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"console": true,
"command": true,
"key_lock": true,
"dynamic_macro": true
},
"build": {
"lto": true
},
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {
"layout": [ "layout": [

View File

@ -1,20 +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 = 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
CUSTOM_MATRIX = lite CUSTOM_MATRIX = lite
KEY_LOCK_ENABLE = yes
DYNAMIC_MACRO_ENABLE = yes
UART_DEBUG = no UART_DEBUG = no
@ -22,8 +6,6 @@ SRC += matrix.c
UART_DRIVER_REQUIRED = yes UART_DRIVER_REQUIRED = yes
SPI_DRIVER_REQUIRED = yes SPI_DRIVER_REQUIRED = yes
OPT_DEFS += -DSLEEP_LED_ENABLE # we need our own sleep callbacks to turn of WS2812 LEDs OPT_DEFS += -DSLEEP_LED_ENABLE
LTO_ENABLE = yes
DEFAULT_FOLDER = ibm/model_m/mschwingen/led_wired DEFAULT_FOLDER = ibm/model_m/mschwingen/led_wired

View File

@ -15,6 +15,11 @@
"diode_direction": "ROW2COL", "diode_direction": "ROW2COL",
"processor": "at90usb1286", "processor": "at90usb1286",
"bootloader": "halfkay", "bootloader": "halfkay",
"features": {
"bootmagic": false,
"mousekey": false,
"extrakey": false
},
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {
"layout": [ "layout": [

View File

@ -1,12 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = no # 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

View File

@ -6,7 +6,10 @@
"usb": { "usb": {
"vid": "0x16C0", "vid": "0x16C0",
"pid": "0x27DB", "pid": "0x27DB",
"device_version": "0.0.1" "device_version": "0.0.1",
"shared_endpoint": {
"keyboard": true
}
}, },
"indicators": { "indicators": {
"caps_lock": "C11", "caps_lock": "C11",
@ -16,6 +19,12 @@
"processor": "STM32F446", // RET6 "processor": "STM32F446", // RET6
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"diode_direction": "ROW2COL", "diode_direction": "ROW2COL",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"haptic": true
},
"matrix_pins": { "matrix_pins": {
// All pins in order from left-to-right, as seen on the keyboard: // All pins in order from left-to-right, as seen on the keyboard:
// C3, C2, C1, C0, A3, A4, A5, A6, A7, C4, C5, B0, B1, B10, B12, B13, B14, B15, C6, C7, C8, C9, A8, A9, A10, // C3, C2, C1, C0, A3, A4, A5, A6, A7, C4, C5, B0, B1, B10, B12, B13, B14, B15, C6, C7, C8, C9, A8, A9, A10,

View File

@ -1,17 +1 @@
# 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
ENCODER_ENABLE = no # Enable rotary encoder support
AUDIO_ENABLE = no # Audio output
KEYBOARD_SHARED_EP = yes # Free up some extra endpoints - needed if console+mouse+extra
HAPTIC_ENABLE = yes
HAPTIC_DRIVER = solenoid HAPTIC_DRIVER = solenoid

View File

@ -19,6 +19,12 @@
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"features": {
"bootmagic": false,
"mousekey": false,
"extrakey": false,
"console": true
},
"community_layouts": ["split_3x5_3"], "community_layouts": ["split_3x5_3"],
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {

View File

@ -1,12 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = no # 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
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

View File

@ -10,7 +10,8 @@
"extrakey": true, "extrakey": true,
"console": false, "console": false,
"command": false, "command": false,
"nkro": true "nkro": true,
"rgb_matrix": true
}, },
"ws2812": { "ws2812": {
"pin": "B3" "pin": "B3"

View File

@ -1,4 +0,0 @@
# This file intentionally left blank
# ** settings are data driven & stored in `info.json` **
RGB_MATRIX_ENABLE = yes

View File

@ -10,7 +10,8 @@
"console": false, "console": false,
"extrakey": true, "extrakey": true,
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true,
"rgb_matrix": true
}, },
"ws2812": { "ws2812": {
"pin": "F0" "pin": "F0"

View File

@ -1,5 +0,0 @@
# Copyright 2022 Vino Rodrigues (@vinorodrigues)
# SPDX-License-Identifier: GPL-2.0-or-later
# ** settings are data driven & stored in `info.json` **
RGB_MATRIX_ENABLE = yes

View File

@ -10,7 +10,8 @@
"console": false, "console": false,
"extrakey": true, "extrakey": true,
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true,
"rgb_matrix": true
}, },
"ws2812": { "ws2812": {
"pin": "B7" "pin": "B7"

View File

@ -1,4 +0,0 @@
# This file intentionally left blank
# ** settings are data driven & stored in `info.json` **
RGB_MATRIX_ENABLE = yes

View File

@ -10,7 +10,8 @@
"extrakey": true, "extrakey": true,
"command": false, "command": false,
"console": false, "console": false,
"nkro": true "nkro": true,
"rgb_matrix": true
}, },
"ws2812": { "ws2812": {
"pin": "F0" "pin": "F0"

View File

@ -1,4 +0,0 @@
# Build Options
# change yes to no to disable
#
RGB_MATRIX_ENABLE = yes # Enable RGB Matrix feature

View File

@ -10,7 +10,8 @@
"extrakey": true, "extrakey": true,
"console": false, "console": false,
"command": false, "command": false,
"nkro": true "nkro": true,
"rgb_matrix": true
}, },
"rgb_matrix": { "rgb_matrix": {
"animations": { "animations": {

View File

@ -1,4 +0,0 @@
# This file intentionally left blank
# ** settings are data driven & stored in `info.json` **
RGB_MATRIX_ENABLE = yes

View File

@ -10,7 +10,8 @@
"extrakey": true, "extrakey": true,
"console": false, "console": false,
"command": false, "command": false,
"nkro": true "nkro": true,
"rgb_matrix": true
}, },
"ws2812": { "ws2812": {
"pin": "E2" "pin": "E2"

View File

@ -1,4 +0,0 @@
# This file intentionally left blank
# ** settings are data driven & stored in `info.json` **
RGB_MATRIX_ENABLE = yes

View File

@ -10,7 +10,8 @@
"console": false, "console": false,
"extrakey": true, "extrakey": true,
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true,
"rgb_matrix": true
}, },
"ws2812": { "ws2812": {
"pin": "B1" "pin": "B1"

View File

@ -1,4 +0,0 @@
# This file intentionally mostly left blank
# ** settings are data driven & stored in `info.json` **
RGB_MATRIX_ENABLE = yes

View File

@ -6,10 +6,20 @@
"usb": { "usb": {
"vid": "0xB33F", "vid": "0xB33F",
"pid": "0x58E4", "pid": "0x58E4",
"device_version": "0.0.1" "device_version": "0.0.1",
"no_startup_check": true
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"unicode": true
},
"build": {
"lto": true
},
"community_layouts": ["split_3x5_3", "split_3x6_3"], "community_layouts": ["split_3x5_3", "split_3x6_3"],
"layouts": { "layouts": {
"LAYOUT_split_3x6_3": { "LAYOUT_split_3x6_3": {

View File

@ -1,19 +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 = 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
UNICODE_ENABLE = yes
CUSTOM_MATRIX = lite CUSTOM_MATRIX = lite
NO_USB_STARTUP_CHECK = yes
LTO_ENABLE = yes
SRC += matrix.c SRC += matrix.c
I2C_DRIVER_REQUIRED = yes I2C_DRIVER_REQUIRED = yes

View File

@ -34,6 +34,15 @@
}, },
"processor": "WB32FQ95", "processor": "WB32FQ95",
"bootloader": "wb32-dfu", "bootloader": "wb32-dfu",
"features": {
"bootmagic": true,
"mousekey": false,
"extrakey": true,
"nkro": true,
"rgb_matrix": true,
"dip_switch": true,
"encoder": true
},
"matrix_pins": { "matrix_pins": {
"cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2"], "cols": ["C1", "C2", "C3", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C4", "C5", "B0", "B1", "B2"],
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"] "rows": ["B15", "C6", "C7", "C8", "C9", "A8"]

View File

@ -1,17 +1 @@
# Build Options #RGB_MATRIX_CUSTOM_USER = yes
# 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
KEYBOARD_SHARED_EP = no
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
DIP_SWITCH_ENABLE = yes # DPI Switch
ENCODER_ENABLE = yes
RGB_MATRIX_ENABLE = yes
#RGB_MATRIX_CUSTOM_USER = yes #Add turnoff LED

View File

@ -43,6 +43,18 @@
}, },
"processor": "MK20DX256", "processor": "MK20DX256",
"bootloader": "kiibohd", "bootloader": "kiibohd",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"command": true,
"nkro": true,
"led_matrix": true,
"unicode": true,
"swap_hands": true,
"sleep_led": true,
"st7565": true
},
"board": "IC_TEENSY_3_1", "board": "IC_TEENSY_3_1",
"tapping": { "tapping": {
"toggle": 1 "toggle": 1

View File

@ -1,20 +1 @@
# 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 = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
UNICODE_ENABLE = yes # Unicode
SWAP_HANDS_ENABLE= yes # Allow swapping hands of keyboard
SLEEP_LED_ENABLE = yes
RGBLIGHT_ENABLE = no
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
ST7565_ENABLE = yes
LED_MATRIX_ENABLE = yes