summaryrefslogtreecommitdiffstats
path: root/keyboards/1k
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/1k')
-rw-r--r--keyboards/1k/config.h16
-rw-r--r--keyboards/1k/info.json5
-rw-r--r--keyboards/1k/keymaps/tap_dance/keymap.c2
3 files changed, 6 insertions, 17 deletions
diff --git a/keyboards/1k/config.h b/keyboards/1k/config.h
index 06675824a6..1e970661c0 100644
--- a/keyboards/1k/config.h
+++ b/keyboards/1k/config.h
@@ -15,22 +15,6 @@
*/
#pragma once
-#include "config_common.h"
-
-/* matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 1
-
-/*
- * Keyboard Matrix Assignments
- *
- * On this board we have direct connection: no diodes.
- */
-#define DIRECT_PINS {{ B0 }}
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
-
#define RGBLED_NUM 1
#define RGB_DI_PIN B2
diff --git a/keyboards/1k/info.json b/keyboards/1k/info.json
index 0c2de31808..8a27d94862 100644
--- a/keyboards/1k/info.json
+++ b/keyboards/1k/info.json
@@ -8,6 +8,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "direct": [
+ ["B0"]
+ ]
+ },
"layouts": {
"LAYOUT_ortho_1x1": {
"layout": [
diff --git a/keyboards/1k/keymaps/tap_dance/keymap.c b/keyboards/1k/keymaps/tap_dance/keymap.c
index c2a8cf1aea..1044924978 100644
--- a/keyboards/1k/keymaps/tap_dance/keymap.c
+++ b/keyboards/1k/keymaps/tap_dance/keymap.c
@@ -11,7 +11,7 @@ enum {
TD_AB = 0
};
-qk_tap_dance_action_t tap_dance_actions[] = {
+tap_dance_action_t tap_dance_actions[] = {
[TD_AB] = ACTION_TAP_DANCE_DOUBLE(KC_A, KC_B)
};