Move DEBOUNCE_TYPE to data driven (#21489)

This commit is contained in:
Ryan 2023-07-09 21:06:03 +10:00 committed by GitHub
parent de5f6539f8
commit de1d36031b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
66 changed files with 98 additions and 63 deletions

View File

@ -19,6 +19,9 @@
"qmk": {
"tap_keycode_delay": 1
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["C6", "B6", "B5", "B4", "D7", "D6", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["C7", "D5", "D3", "D2"]

View File

@ -10,7 +10,6 @@ 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
DEBOUNCE_TYPE = sym_eager_pk
LTO_ENABLE = yes
DEFAULT_FOLDER = adm42/rev4

View File

@ -13,6 +13,9 @@
"tapping": {
"toggle": 1
},
"build": {
"debounce_type": "sym_eager_pr"
},
"layouts": {
"LAYOUT_6x7": {
"layout": [

View File

@ -24,8 +24,6 @@ SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard
BACKLIGHT_SUPPORTED = no
AUDIO_SUPPORTED = no
DEBOUNCE_TYPE = sym_eager_pr
# project specific files
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c

View File

@ -10,6 +10,9 @@
"pin": "A1",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["B1", "B10", "B3", "B4", "B5"],
"rows": ["A2", "B8", "A8", "B9"]

View File

@ -25,5 +25,3 @@ KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "D3",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]

View File

@ -26,5 +26,3 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "A1",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
"rows": ["A2", "B8", "A8", "B9"]

View File

@ -25,5 +25,3 @@ KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "D3",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]

View File

@ -26,5 +26,3 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "A1",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
"rows": ["B15", "A2", "B8", "A8", "B9"]

View File

@ -25,5 +25,3 @@ KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "D3",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F4", "F7", "C6", "D4", "B5"]

View File

@ -26,5 +26,3 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "A1",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
"rows": ["B15", "A2", "B8", "A8", "B9"]

View File

@ -23,5 +23,3 @@ KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "D3",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F4", "F7", "C6", "D4", "B5"]

View File

@ -21,5 +21,3 @@ RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix functionality
SPLIT_KEYBOARD = yes
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "A1",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["B1", "B10", "B3", "B4", "B5"],
"rows": ["A2", "B8", "A8", "B9"]

View File

@ -23,5 +23,3 @@ KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "D3",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]

View File

@ -21,5 +21,3 @@ RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix functionality
SPLIT_KEYBOARD = yes
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "A1",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
"rows": ["A2", "B8", "A8", "B9"]

View File

@ -23,5 +23,3 @@ KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -10,6 +10,9 @@
"pin": "D3",
"driver": "pwm"
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]

View File

@ -21,5 +21,3 @@ RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix functionality
SPLIT_KEYBOARD = yes
SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -11,6 +11,9 @@
"brightness_steps": 12,
"sleep": true
},
"build": {
"debounce_type": "sym_eager_pr"
},
"ws2812": {
"pin": "D7"
},

View File

@ -17,7 +17,6 @@ UNICODE_ENABLE = no # Unicode
SWAP_HANDS_ENABLE= no # Allow swapping hands of keyboard
RGB_MATRIX_ENABLE = no # enable later
DEBOUNCE_TYPE = sym_eager_pr
# project specific files
SRC += matrix.c \

View File

@ -8,6 +8,9 @@
"pid": "0x1307",
"device_version": "0.0.1"
},
"build": {
"debounce_type": "sym_eager_pr"
},
"bootmagic": {
"matrix": [13, 2]
},

View File

@ -7,6 +7,5 @@ CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
DEBOUNCE_TYPE = sym_eager_pr
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c

View File

@ -8,6 +8,9 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
"build": {
"debounce_type": "sym_eager_pr"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["split_3x5_3"],

View File

@ -12,6 +12,5 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
CUSTOM_MATRIX = yes
DEBOUNCE_TYPE = sym_eager_pr
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c

View File

@ -9,6 +9,9 @@
"led_count": 57,
"split_count": [26, 31]
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"ws2812": {
"pin": "A1",
"driver": "pwm"

View File

@ -5,5 +5,3 @@ MOUSE_SHARED_EP = yes
EEPROM_DRIVER = spi
SERIAL_DRIVER = usart
AUDIO_DRIVER = pwm_hardware
DEBOUNCE_TYPE = asym_eager_defer_pk

View File

@ -9,6 +9,9 @@
"device_version": "0.0.1",
"force_nkro": true
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
"rows": ["B5", "B4", "E6", "D7", "D4"]

View File

@ -13,6 +13,5 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SPLIT_KEYBOARD = yes # Use shared split_common code
SRC += matrix.c
DEBOUNCE_TYPE = sym_eager_pk
DEFAULT_FOLDER = handwired/xealous/rev1

View File

@ -7,6 +7,9 @@
"device_version": "0.0.2",
"max_power": 100
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["E7", "F0", "F7", "B1", "B3", "B0", "D5"],
"rows": ["D7", "E0", "E1", "C0", "C6", "F6", "D4", "D2", "D3", "D0", "B7", "D1", "E6", "B4", "B2"]

View File

@ -1,3 +0,0 @@
# Debounce eagerly (report change immediately), keep per-key timers. We can use
# this because the kinT does not have to deal with noise.
DEBOUNCE_TYPE = sym_eager_pk

View File

@ -7,6 +7,9 @@
"device_version": "0.0.1",
"max_power": 100
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["B3", "D1", "C0", "D5", "C1", "B2", "D4"],
"rows": ["D3", "C3", "C4", "C6", "D2", "B0", "D7", "A12", "A13", "B17", "B16", "D0", "B1", "C2", "D6"]

View File

@ -1,3 +0,0 @@
# Debounce eagerly (report change immediately), keep per-key timers. We can use
# this because the kinT does not have to deal with noise.
DEBOUNCE_TYPE = sym_eager_pk

View File

@ -7,6 +7,9 @@
"device_version": "0.0.1",
"max_power": 100
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"],
"rows": ["LINE_PIN8", "LINE_PIN9", "LINE_PIN10", "LINE_PIN11", "LINE_PIN7", "LINE_PIN16", "LINE_PIN5", "LINE_PIN3", "LINE_PIN4", "LINE_PIN1", "LINE_PIN0", "LINE_PIN2", "LINE_PIN17", "LINE_PIN23", "LINE_PIN21"]

View File

@ -9,9 +9,4 @@ ARMV = 7
# Bootloader selection
BOOTLOADER = halfkay
# Debounce eagerly (report change immediately), keep per-key timers. We can use
# this because the Cherry MX keyswitches on the Kinesis only produce noise while
# pressed.
DEBOUNCE_TYPE = sym_eager_pk
FIRMWARE_FORMAT = hex

View File

@ -7,6 +7,9 @@
"device_version": "0.0.1",
"max_power": 50
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"],
"rows": ["LINE_PIN8", "LINE_PIN9", "LINE_PIN10", "LINE_PIN11", "LINE_PIN7", "LINE_PIN16", "LINE_PIN5", "LINE_PIN3", "LINE_PIN4", "LINE_PIN1", "LINE_PIN0", "LINE_PIN2", "LINE_PIN17", "LINE_PIN23", "LINE_PIN21"]

View File

@ -1,7 +1,2 @@
# This MCU is not in the main CHIBIOS repo but in the CHIBIOS_CONTRIB repo.
USE_CHIBIOS_CONTRIB = yes
# Debounce eagerly (report change immediately), keep per-key timers. We can use
# this because the Cherry MX keyswitches on the Kinesis only produce noise while
# pressed.
DEBOUNCE_TYPE = sym_eager_pk

View File

@ -13,6 +13,7 @@
"compose": "D7",
"on_state": 0
},
"debounce": 1,
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View File

@ -9,6 +9,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
SLEEP_LED_ENABLE = yes
CUSTOM_MATRIX = lite
SRC += matrix.c
# experimentally determined to be sufficient :)
DEBOUNCE=1

View File

@ -11,6 +11,9 @@
"tapping": {
"term": 400
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["B5", "C6", "D4"],
"rows": ["B4", "E6", "D7", "B3", "B2", "B6"]

View File

@ -12,4 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
OLED_ENABLE = yes
DEBOUNCE_TYPE = sym_eager_pk

View File

@ -48,6 +48,9 @@
"ws2812": {
"pin": "B5"
},
"build": {
"debounce_type": "sym_eager_pk"
},
"encoder": {
"rotary": [
{"pin_a": "B0", "pin_b": "A2", "resolution": 4},

View File

@ -11,7 +11,6 @@ DYNAMIC_TAPPING_TERM_ENABLE = yes # Enable Dynamic Tapping Term to
# Custom matrix setup
CUSTOM_MATRIX = lite
DEBOUNCE_TYPE = sym_eager_pk
VPATH += drivers/gpio
SRC += mcp23018.c matrix.c

View File

@ -12,12 +12,16 @@
"mousekey": false,
"nkro": false
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"rows": ["B10", "B1", "B0", "A7", "A6", "A5", "A4", "A3"],
"cols": ["A2", "B8", "A0", "C15", "C14", "A14", "A13", "B7", "B6", "B5", "B4", "B3", "A15", "A10", "A8", "B15", "B14", "B12"],
"ghost": true,
"io_delay": 5
},
"debounce": 3,
"processor": "STM32F401",
"url": "",
"usb": {

View File

@ -1,3 +1 @@
# This file intentionally left blank
DEBOUNCE_TYPE = sym_eager_pk
DEBOUNCE = 3

View File

@ -13,6 +13,9 @@
"nkro": true,
"rgb_matrix": true
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["GP21", "GP22", "GP23", "GP24", "GP25", "GP26", "GP28", "GP3", "GP4", "GP5", "GP6", "GP9", "GP10", "GP11", "GP12", "GP13"],
"rows": ["GP29", "GP27", "GP20", "GP19", "GP18"]

View File

@ -1 +0,0 @@
DEBOUNCE_TYPE = sym_eager_pk

View File

@ -15,6 +15,9 @@
"ws2812": {
"driver": "i2c"
},
"build": {
"debounce_type": "sym_eager_pr"
},
"processor": "atmega32a",
"bootloader": "bootloadhid",
"debounce": 50,

View File

@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
DEBOUNCE_TYPE = sym_eager_pr
# custom matrix setup
CUSTOM_MATRIX = lite

View File

@ -8,6 +8,9 @@
"pid": "0x0003",
"device_version": "0.0.1"
},
"build": {
"debounce_type": "sym_defer_pk"
},
"matrix_pins": {
"cols": ["C7", "B6", "B5", "B4", "D7", "D6", "D4", "D5"],
"rows": ["F0", "E6", "D0", "D1", "C6", "F7", "F6", "F5", "F4", "F1"]

View File

@ -11,4 +11,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
DEBOUNCE_TYPE = sym_defer_pk

View File

@ -8,6 +8,9 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
"build": {
"debounce_type": "sym_defer_pk"
},
"matrix_pins": {
"cols": ["E6", "B4", "B5", "B6", "D0", "D1", "D2", "D3"],
"rows": ["F4", "F1", "F0", "B7", "F7", "D5", "C6", "C7", "F5", "F6"]

View File

@ -10,5 +10,3 @@ 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
DEBOUNCE_TYPE = sym_defer_pk

View File

@ -24,6 +24,9 @@
"ws2812": {
"pin": "C6"
},
"build": {
"debounce_type": "sym_defer_pk"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["numpad_6x5"],

View File

@ -13,5 +13,4 @@ AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes
RGB_MATRIX_ENABLE = yes # Use RGB matrix
DEBOUNCE_TYPE = sym_defer_pk
RGB_MATRIX_CUSTOM_KB = yes

View File

@ -14,6 +14,9 @@
"ws2812": {
"pin": "F4"
},
"build": {
"debounce_type": "sym_eager_pk"
},
"matrix_pins": {
"cols": ["B1", "B3", "B2", "B6"],
"rows": ["C6", "D7", "E6", "B4", "B5"]

View File

@ -6,7 +6,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
COMMAND_ENABLE = no # Commands for debug and configuration
CONSOLE_ENABLE = no # Console for debug
DEBOUNCE_TYPE = sym_eager_pk
EXTRAKEY_ENABLE = no # Audio control and System control
LTO_ENABLE = yes # Link time optimise, reduce firmware size
MOUSEKEY_ENABLE = no # Mouse keys