Data-driven Keyboard Conversions: C (#23453)

This commit is contained in:
James Young 2024-04-11 08:29:10 -07:00 committed by GitHub
parent 8bbbe753fd
commit a532d1cc5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
96 changed files with 395 additions and 620 deletions

View file

@ -8,6 +8,11 @@
"pid": "0x0ADB",
"device_version": "1.0.1"
},
"features": {
"bootmagic": false,
"mousekey": false,
"extrakey": true
},
"layouts": {
"LAYOUT_ext_ansi": {
"layout": [

View file

@ -1,15 +1,3 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # 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
CUSTOM_MATRIX = yes
SRC += matrix.c adb.c led.c

View file

@ -10,6 +10,13 @@
},
"processor": "atmega32u4",
"bootloader": "halfkay",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"console": true,
"nkro": true
},
"layouts": {
"LAYOUT": {
"layout": [

View file

@ -1,16 +1,3 @@
# 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 = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SPLIT_KEYBOARD = no
WAIT_FOR_USB = yes
CUSTOM_MATRIX = yes

View file

@ -10,6 +10,13 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"nkro": true,
"ps2": true
},
"layouts": {
"LAYOUT": {
"layout": [

View file

@ -1,16 +1,3 @@
# 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 = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
PS2_ENABLE = yes
PS2_DRIVER = usart
CUSTOM_MATRIX = yes

View file

@ -10,6 +10,13 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"features": {
"bootmagic": false,
"mousekey": false,
"console": true,
"extrakey": true,
"usb_hid": true
},
"layouts": {
"LAYOUT_ansi": {
"layout": [

View file

@ -1,17 +1,6 @@
# Processor frequency
F_CPU = 8000000
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
EXTRAKEY_ENABLE = yes
USB_HID_ENABLE = yes
BACKLIGHT_ENABLE = no
CUSTOM_MATRIX = yes
SRC = matrix.c m0110.c

View file

@ -9,5 +9,12 @@
"device_version": "1.0.0"
},
"processor": "atmega32u4",
"bootloader": "caterina"
"bootloader": "caterina",
"features": {
"bootmagic": false,
"mousekey": false,
"extrakey": false,
"console": true,
"command": true
}
}

View file

@ -1,15 +1,3 @@
# 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 = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
#HARDWARE_SERIAL = yes
CUSTOM_MATRIX = yes

View file

@ -10,6 +10,11 @@
},
"processor": "at90usb1286",
"bootloader": "halfkay",
"features": {
"bootmagic": false,
"mousekey": false,
"extrakey": false
},
"diode_direction": "ROW2COL",
"matrix_pins": {
"cols": ["B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "E0", "E1", "C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7"],

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

@ -10,6 +10,15 @@
},
"processor": "STM32F103",
"bootloader": "stm32duino",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"console": true,
"command": true,
"nkro": true,
"sleep_led": true
},
"layouts": {
"LAYOUT": {
"layout": [

View file

@ -1,17 +1,2 @@
SRC = matrix.c
# 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 = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = no
SLEEP_LED_ENABLE = yes
CUSTOM_MATRIX = yes
SRC = matrix.c

View file

@ -9,5 +9,13 @@
"device_version": "1.0.0"
},
"processor": "atmega32u4",
"bootloader": "lufa-dfu"
"bootloader": "lufa-dfu",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"console": true,
"command": true,
"nkro": true
}
}

View file

@ -1,15 +1,3 @@
# 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 = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
#HARDWARE_SERIAL = yes
CUSTOM_MATRIX = yes

View file

@ -10,6 +10,14 @@
},
"processor": "atmega32u4",
"bootloader": "halfkay",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"console": true,
"command": true,
"nkro": true
},
"layouts": {
"LAYOUT_xt": {
"layout": [

View file

@ -1,15 +1,3 @@
# 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 = yes # 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 = yes
SRC += matrix.c xt_interrupt.c