1
0
Fork 0

Move TAP_CODE_DELAY to data driven (#21363)

This commit is contained in:
Ryan 2023-06-25 22:06:31 +10:00 committed by GitHub
parent dd164a0566
commit 2f9f555add
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
174 changed files with 269 additions and 375 deletions

View file

@ -31,9 +31,6 @@
#define OLED_TIMEOUT 0
// #define OLED_SCROLL_TIMEOUT 1000
/* Taps (encoder tap_code) */
#define TAP_CODE_DELAY 10
/* I2C */
//#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
//#define PAL_MODE_STM32_ALTERNATE_OPENDRAIN (PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN)

View file

@ -27,6 +27,9 @@
{"pin_a": "A0", "pin_b": "A1"}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",

View file

@ -1,22 +0,0 @@
// Copyright 2022 bwprobably
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define TAP_CODE_DELAY 100

View file

@ -28,6 +28,9 @@
{"pin_a": "D1", "pin_b": "D0"}
]
},
"qmk": {
"tap_keycode_delay": 100
},
"layouts": {
"LAYOUT": {
"layout": [

View file

@ -1,21 +0,0 @@
/*
Copyright 2019 Crokto
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Set delay for tap_code on rotary encoder */
#define TAP_CODE_DELAY 10

View file

@ -18,6 +18,9 @@
{"pin_a": "F1", "pin_b": "F0", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {

View file

@ -3,8 +3,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 */

View file

@ -19,6 +19,9 @@
{"pin_a": "F4", "pin_b": "F5", "resolution": 2}
]
},
"qmk": {
"tap_keycode_delay": 10
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {

View file

@ -9,7 +9,8 @@
"device_version": "0.0.1"
},
"tapping": {
"term": 150
"term": 150,
"toggle": 1
},
"matrix_pins": {
"cols": ["B0", "D0", "D5", "B6", "D4", "C7", "F7", "F6", "F5", "F4", "F1", "F0"],
@ -18,9 +19,6 @@
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "halfkay",
"tapping": {
"toggle": 1
},
"layouts": {
"LAYOUT": {
"layout": [