summaryrefslogtreecommitdiff
path: root/keyboards/touchpad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/touchpad')
-rw-r--r--keyboards/touchpad/config.h9
-rw-r--r--keyboards/touchpad/info.json2
-rw-r--r--keyboards/touchpad/matrix.c4
-rw-r--r--keyboards/touchpad/rules.mk6
4 files changed, 4 insertions, 17 deletions
diff --git a/keyboards/touchpad/config.h b/keyboards/touchpad/config.h
index 2499fca4e1..f6adc77405 100644
--- a/keyboards/touchpad/config.h
+++ b/keyboards/touchpad/config.h
@@ -17,22 +17,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 6
-
-/* define if matrix has ghost */
-//#define MATRIX_HAS_GHOST
-
-/* number of backlight levels */
#define BACKLIGHT_LEVELS 3
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/touchpad/info.json b/keyboards/touchpad/info.json
index c20d14ce7e..999f8deb61 100644
--- a/keyboards/touchpad/info.json
+++ b/keyboards/touchpad/info.json
@@ -8,6 +8,8 @@
"pid": "0x0DB8",
"device_version": "0.0.1"
},
+ "processor": "atmega32u4",
+ "bootloader": "caterina",
"layouts": {
"LAYOUT_ortho_6x6": {
"layout": [
diff --git a/keyboards/touchpad/matrix.c b/keyboards/touchpad/matrix.c
index 3af4c5c3c7..6bffb826bd 100644
--- a/keyboards/touchpad/matrix.c
+++ b/keyboards/touchpad/matrix.c
@@ -158,7 +158,7 @@ void matrix_init(void) {
memset(matrix, 0, MATRIX_ROWS * sizeof(matrix_row_t));
- matrix_init_quantum();
+ matrix_init_kb();
}
@@ -261,7 +261,7 @@ uint8_t matrix_scan(void) {
writePinLow(E6);
}
- matrix_scan_quantum();
+ matrix_scan_kb();
return 1;
diff --git a/keyboards/touchpad/rules.mk b/keyboards/touchpad/rules.mk
index 45ffab29f4..c22f3a2da5 100644
--- a/keyboards/touchpad/rules.mk
+++ b/keyboards/touchpad/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
-
# Build Options
# change yes to no to disable
#