40percentclub/gherkin: remove `CONVERT_TO` at keyboard level (#23396)

master
Ryan 2024-04-03 01:32:48 +11:00 committed by GitHub
parent 573db7a0ee
commit 1bea8b9d31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 34 additions and 49 deletions

View File

@ -8,16 +8,13 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
"rows": ["F7", "B1", "B3", "B2", "B6"]
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"nkro": true,
"backlight": true
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B5"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_3x10"],
"layouts": {
"LAYOUT_ortho_3x10": {

View File

@ -0,0 +1,12 @@
{
"development_board": "kb2040",
"matrix_pins": {
"cols": ["GP8", "GP7", "GP6", "GP5", "GP4", "GP3"],
"rows": ["GP26", "GP18", "GP20", "GP19", "GP10"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "GP9",
"driver": "software"
}
}

View File

@ -1 +0,0 @@
CONVERT_TO = kb2040

View File

@ -50,26 +50,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
void keyboard_pre_init_user(void) {
// Call the keyboard pre init code.
// Set our LED pins as output
setPinOutput(D5);
setPinOutput(B0);
}
bool led_update_user(led_t led_state) {
if (led_state.num_lock) {
writePinLow(D5);
} else {
writePinHigh(D5);
}
if (led_state.caps_lock) {
writePinLow(B0);
} else {
writePinHigh(B0);
}
return false;
}

View File

@ -0,0 +1,16 @@
{
"development_board": "promicro",
"matrix_pins": {
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
"rows": ["F7", "B1", "B3", "B2", "B6"]
},
"diode_direction": "COL2ROW",
"indicators": {
"num_lock": "D5",
"caps_lock": "B0",
"on_state": 0
},
"backlight": {
"pin": "B5"
}
}

View File

@ -1,16 +0,0 @@
# 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 = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no
# Disable unsupported hardware
RGBLIGHT_SUPPORTED = no
AUDIO_SUPPORTED = no