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
66 changed files with 98 additions and 63 deletions
+3
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"]
-3
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
+3
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"]
-3
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
+3
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"]
-5
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
+3
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"]
-5
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
@@ -13,6 +13,7 @@
"compose": "D7",
"on_state": 0
},
"debounce": 1,
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
-3
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