Skip to content

Commit

Permalink
Move TAP_CODE_DELAY to data driven (qmk#21363)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and autoferrit committed Dec 6, 2023
1 parent b220718 commit a3f1521
Show file tree
Hide file tree
Showing 174 changed files with 401 additions and 388 deletions.
2 changes: 0 additions & 2 deletions keyboards/0xcb/1337/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

// clang-format off

#define TAP_CODE_DELAY 10

#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
Expand Down
3 changes: 3 additions & 0 deletions keyboards/0xcb/1337/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{"pin_a": "F6", "pin_b": "F5"}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"qmk_lufa_bootloader": {
"led": "B0"
},
Expand Down
2 changes: 0 additions & 2 deletions keyboards/0xcb/static/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

#define TAP_CODE_DELAY 10

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
3 changes: 3 additions & 0 deletions keyboards/0xcb/static/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{"pin_a": "D0", "pin_b": "D1"}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "atmega328p",
"bootloader": "usbasploader",
"layout_aliases": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/7c8/framework/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@

#pragma once

#define TAP_CODE_DELAY 16

#define LEADER_TIMEOUT 250
#define LEADER_PER_KEY_TIMING 150
3 changes: 3 additions & 0 deletions keyboards/7c8/framework/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{"pin_a": "D0", "pin_b": "D1"}
]
},
"qmk": {
"tap_keycode_delay": 16
},
"processor": "atmega328p",
"bootloader": "usbasploader",
"layouts": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/adm42/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#pragma once

#define TAP_CODE_DELAY 1

#if defined(CONSOLE_ENABLE)
#define DEBUG_MATRIX_SCAN_RATE
#endif
3 changes: 3 additions & 0 deletions keyboards/adm42/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"driver": "WS2812",
"sat_steps": 24
},
"qmk": {
"tap_keycode_delay": 1
},
"matrix_pins": {
"cols": ["C6", "B6", "B5", "B4", "D7", "D6", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["C7", "D5", "D3", "D2"]
Expand Down
2 changes: 0 additions & 2 deletions keyboards/adpenrose/akemipad/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#pragma once

#define TAP_CODE_DELAY 10

/* Audio functionality */
#define AUDIO_PIN C6
#define AUDIO_CLICKY
Expand Down
3 changes: 3 additions & 0 deletions keyboards/adpenrose/akemipad/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
{"pin_a": "B1", "pin_b": "B3"}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/adpenrose/kintsugi/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#define TAP_CODE_DELAY 10

/* Underglow options: */
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
Expand Down
3 changes: 3 additions & 0 deletions keyboards/adpenrose/kintsugi/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
{"pin_a": "B7", "pin_b": "D5"}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/adpenrose/obi/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#pragma once

#define TAP_CODE_DELAY 10

/* Underglow options: */
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
Expand Down
13 changes: 8 additions & 5 deletions keyboards/adpenrose/obi/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,17 +969,20 @@
]
},
"processor": "atmega32u4",
"usb": {
"device_version": "1.0.0",
"pid": "0x0002",
"vid": "0x4450"
"qmk": {
"tap_keycode_delay": 10
},
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 16,
"saturation_steps": 8,
"sleep": true
},
"usb": {
"device_version": "1.0.0",
"pid": "0x0002",
"vid": "0x4450"
},
"ws2812": {
"pin": "F7"
}
Expand Down
2 changes: 0 additions & 2 deletions keyboards/ano/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#pragma once

#define TAP_CODE_DELAY 10

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
3 changes: 3 additions & 0 deletions keyboards/ano/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{"pin_a": "B12", "pin_b": "A14", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"layouts": {
Expand Down
20 changes: 0 additions & 20 deletions keyboards/aplyard/aplx6/rev2/config.h

This file was deleted.

3 changes: 3 additions & 0 deletions keyboards/aplyard/aplx6/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
{"pin_a": "F5", "pin_b": "F4"}
]
},
"qmk": {
"tap_keycode_delay": 50
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bandominedoni/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,3 @@
// Initial velocity value (avoid using 127 since it is used as a special number in some sound sources.)
# define MIDI_INITIAL_VELOCITY 117
#endif // MIDI_ENABLE

#define TAP_CODE_DELAY 10
3 changes: 3 additions & 0 deletions keyboards/bandominedoni/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
}
}
},
"qmk": {
"tap_keycode_delay": 10
},
"ws2812": {
"pin": "D3"
},
Expand Down
2 changes: 0 additions & 2 deletions keyboards/basketweave/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#define TAP_CODE_DELAY 10
3 changes: 3 additions & 0 deletions keyboards/basketweave/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
{"pin_a": "D7", "pin_b": "C0"}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "atmega32a",
"bootloader": "usbasploader",
"layouts": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/boston/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
//The 3D-printed version of Boston uses APA106 LEDs, which are reversed
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB

#define TAP_CODE_DELAY 15

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
3 changes: 3 additions & 0 deletions keyboards/boston/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{"pin_a": "C13", "pin_b": "F1", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 15
},
"backlight": {
"pin": "A6",
"levels": 6,
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/balance/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#define TAP_CODE_DELAY 25

#define DYNAMIC_KEYMAP_LAYER_COUNT 3

/*
Expand Down
3 changes: 3 additions & 0 deletions keyboards/cannonkeys/balance/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{"pin_a": "B5", "pin_b": "B6", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 25
},
"indicators": {
"caps_lock": "B12",
"num_lock": "B14",
Expand Down
2 changes: 0 additions & 2 deletions keyboards/custommk/ergostrafer/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#define SPI_MISO_PIN B4
#define SPI_MISO_PAL_MODE 5

#define TAP_CODE_DELAY 10

// Audio configuration
#define AUDIO_PIN B8
#define AUDIO_PWM_DRIVER PWMD4
Expand Down
3 changes: 3 additions & 0 deletions keyboards/custommk/ergostrafer/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,8 @@
{ "pin_a": "B12", "pin_b": "B14"},
{ "pin_a": "B15", "pin_b": "A15"}
]
},
"qmk": {
"tap_keycode_delay": 10
}
}
2 changes: 0 additions & 2 deletions keyboards/custommk/evo70/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@

#define OLED_DISABLE_TIMEOUT

#define TAP_CODE_DELAY 10

#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 4
3 changes: 3 additions & 0 deletions keyboards/custommk/evo70/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
{"pin_a": "C7", "pin_b": "D5", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"backlight": {
"pin": "B5",
"levels": 17,
Expand Down
2 changes: 0 additions & 2 deletions keyboards/custommk/genesis/rev1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#pragma once

#define TAP_CODE_DELAY 10

#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
Expand Down
3 changes: 3 additions & 0 deletions keyboards/custommk/genesis/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
{"pin_a": "D2", "pin_b": "D1", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"layouts": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/custommk/genesis/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#pragma once

#define TAP_CODE_DELAY 10

#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
Expand Down
3 changes: 3 additions & 0 deletions keyboards/custommk/genesis/rev2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
{"pin_a": "D2", "pin_b": "D1", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"layouts": {
Expand Down
20 changes: 0 additions & 20 deletions keyboards/doodboard/duckboard/config.h

This file was deleted.

3 changes: 3 additions & 0 deletions keyboards/doodboard/duckboard/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{"pin_a": "F5", "pin_b": "F6", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 20
},
"rgblight": {
"led_count": 8
},
Expand Down
20 changes: 0 additions & 20 deletions keyboards/doodboard/duckboard_r2/config.h

This file was deleted.

Loading

0 comments on commit a3f1521

Please sign in to comment.