Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move DEBOUNCE_TYPE to data driven #21489

Merged
merged 1 commit into from
Jul 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions keyboards/adm42/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/adm42/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/bajjak/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"tapping": {
"toggle": 1
},
"build": {
"debounce_type": "sym_eager_pr"
},
"layouts": {
"LAYOUT_6x7": {
"layout": [
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bajjak/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/3x5/blackpill/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/3x5/blackpill/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ KEYBOARD_SHARED_EP = yes

EEPROM_DRIVER = spi
SERIAL_DRIVER = usart

DEBOUNCE_TYPE = asym_eager_defer_pk
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/3x5/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/3x5/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/3x6/blackpill/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/3x6/blackpill/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ KEYBOARD_SHARED_EP = yes

EEPROM_DRIVER = spi
SERIAL_DRIVER = usart

DEBOUNCE_TYPE = asym_eager_defer_pk
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/3x6/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/3x6/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/4x6/blackpill/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/4x6/blackpill/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ KEYBOARD_SHARED_EP = yes

EEPROM_DRIVER = spi
SERIAL_DRIVER = usart

DEBOUNCE_TYPE = asym_eager_defer_pk
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/4x6/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/charybdis/4x6/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/bastardkb/scylla/blackpill/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/scylla/blackpill/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ KEYBOARD_SHARED_EP = yes

EEPROM_DRIVER = spi
SERIAL_DRIVER = usart

DEBOUNCE_TYPE = asym_eager_defer_pk
3 changes: 3 additions & 0 deletions keyboards/bastardkb/scylla/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/scylla/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/bastardkb/skeletyl/blackpill/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/skeletyl/blackpill/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ KEYBOARD_SHARED_EP = yes

EEPROM_DRIVER = spi
SERIAL_DRIVER = usart

DEBOUNCE_TYPE = asym_eager_defer_pk
3 changes: 3 additions & 0 deletions keyboards/bastardkb/skeletyl/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/skeletyl/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/bastardkb/tbkmini/blackpill/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/tbkmini/blackpill/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ KEYBOARD_SHARED_EP = yes

EEPROM_DRIVER = spi
SERIAL_DRIVER = usart

DEBOUNCE_TYPE = asym_eager_defer_pk
3 changes: 3 additions & 0 deletions keyboards/bastardkb/tbkmini/v2/stemcell/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bastardkb/tbkmini/v2/stemcell/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/ergodox_ez/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"brightness_steps": 12,
"sleep": true
},
"build": {
"debounce_type": "sym_eager_pr"
},
"ws2812": {
"pin": "D7"
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/ergodox_ez/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 3 additions & 0 deletions keyboards/gboards/gergo/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"pid": "0x1307",
"device_version": "0.0.1"
},
"build": {
"debounce_type": "sym_eager_pr"
},
"bootmagic": {
"matrix": [13, 2]
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/gboards/gergo/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/gboards/gergoplex/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
1 change: 0 additions & 1 deletion keyboards/gboards/gergoplex/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"led_count": 57,
"split_count": [26, 31]
},
"build": {
"debounce_type": "asym_eager_defer_pk"
},
"ws2812": {
"pin": "A1",
"driver": "pwm"
Expand Down
2 changes: 0 additions & 2 deletions keyboards/handwired/tractyl_manuform/5x6_right/f411/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ MOUSE_SHARED_EP = yes
EEPROM_DRIVER = spi
SERIAL_DRIVER = usart
AUDIO_DRIVER = pwm_hardware

DEBOUNCE_TYPE = asym_eager_defer_pk
3 changes: 3 additions & 0 deletions keyboards/handwired/xealous/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/xealous/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/kinesis/kint2pp/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 0 additions & 3 deletions keyboards/kinesis/kint2pp/rules.mk
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions keyboards/kinesis/kint36/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 0 additions & 3 deletions keyboards/kinesis/kint36/rules.mk
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions keyboards/kinesis/kint41/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/kinesis/kint41/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/kinesis/kintlc/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/kinesis/kintlc/rules.mk
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions keyboards/kinesis/nguyenvietyen/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"compose": "D7",
"on_state": 0
},
"debounce": 1,
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/kinesis/nguyenvietyen/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading