Browse Source

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

pull/20374/merge
Ryan 1 month ago
committed by GitHub
parent
commit
1bea8b9d31
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
6 changed files with 34 additions and 49 deletions
  1. +6
    -9
      keyboards/40percentclub/gherkin/info.json
  2. +12
    -0
      keyboards/40percentclub/gherkin/kb2040/keyboard.json
  3. +0
    -1
      keyboards/40percentclub/gherkin/kb2040/rules.mk
  4. +0
    -23
      keyboards/40percentclub/gherkin/keymaps/default/keymap.c
  5. +16
    -0
      keyboards/40percentclub/gherkin/pro_micro/keyboard.json
  6. +0
    -16
      keyboards/40percentclub/gherkin/rules.mk

+ 6
- 9
keyboards/40percentclub/gherkin/info.json 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": {


+ 12
- 0
keyboards/40percentclub/gherkin/kb2040/keyboard.json 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"
}
}

+ 0
- 1
keyboards/40percentclub/gherkin/kb2040/rules.mk View File

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

+ 0
- 23
keyboards/40percentclub/gherkin/keymaps/default/keymap.c 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;
}

+ 16
- 0
keyboards/40percentclub/gherkin/pro_micro/keyboard.json 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"
}
}

+ 0
- 16
keyboards/40percentclub/gherkin/rules.mk 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

Loading…
Cancel
Save