Move TAPPING_TERM to data driven (#21296)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-06-24 17:44:21 +10:00 committed by GitHub
parent 4ae9bfd17a
commit 1e05bad1ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
103 changed files with 159 additions and 189 deletions

View file

@ -16,8 +16,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Tap interval for tap dance */
#define TAPPING_TERM 400
/* Oneshot interval */
#define ONESHOT_TIMEOUT 5000

View file

@ -8,6 +8,9 @@
"pid": "0x3777",
"device_version": "0.1.0"
},
"tapping": {
"term": 400
},
"matrix_pins": {
"cols": ["B5", "C6", "D4"],
"rows": ["B4", "E6", "D7", "B3", "B2", "B6"]