summaryrefslogtreecommitdiffstats
path: root/keyboards/ploopyco/trackball_nano
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ploopyco/trackball_nano')
-rw-r--r--keyboards/ploopyco/trackball_nano/config.h9
-rw-r--r--keyboards/ploopyco/trackball_nano/info.json3
-rw-r--r--keyboards/ploopyco/trackball_nano/rev1_001/config.h12
-rw-r--r--keyboards/ploopyco/trackball_nano/rev1_001/info.json7
-rw-r--r--keyboards/ploopyco/trackball_nano/rules.mk6
5 files changed, 10 insertions, 27 deletions
diff --git a/keyboards/ploopyco/trackball_nano/config.h b/keyboards/ploopyco/trackball_nano/config.h
index fb340a4ec3..c8e74cc271 100644
--- a/keyboards/ploopyco/trackball_nano/config.h
+++ b/keyboards/ploopyco/trackball_nano/config.h
@@ -19,15 +19,6 @@
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 1
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 0
-
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
diff --git a/keyboards/ploopyco/trackball_nano/info.json b/keyboards/ploopyco/trackball_nano/info.json
index cf9b78a4f3..610efd27b3 100644
--- a/keyboards/ploopyco/trackball_nano/info.json
+++ b/keyboards/ploopyco/trackball_nano/info.json
@@ -8,6 +8,9 @@
"pid": "0x54A3",
"device_version": "0.0.1"
},
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
+ "debounce": 0,
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/ploopyco/trackball_nano/rev1_001/config.h b/keyboards/ploopyco/trackball_nano/rev1_001/config.h
index 3bde88487a..14fcb8ca95 100644
--- a/keyboards/ploopyco/trackball_nano/rev1_001/config.h
+++ b/keyboards/ploopyco/trackball_nano/rev1_001/config.h
@@ -19,18 +19,6 @@
#pragma once
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
- */
-#define DIRECT_PINS {{NO_PIN}}
-
// These pins are not broken out, and cannot be used normally.
// They are set as output and pulled high, by default
#define UNUSABLE_PINS \
diff --git a/keyboards/ploopyco/trackball_nano/rev1_001/info.json b/keyboards/ploopyco/trackball_nano/rev1_001/info.json
new file mode 100644
index 0000000000..abf5f9fe74
--- /dev/null
+++ b/keyboards/ploopyco/trackball_nano/rev1_001/info.json
@@ -0,0 +1,7 @@
+{
+ "matrix_pins": {
+ "direct": [
+ [null]
+ ]
+ }
+}
diff --git a/keyboards/ploopyco/trackball_nano/rules.mk b/keyboards/ploopyco/trackball_nano/rules.mk
index 565be1280f..7a1052a4fa 100644
--- a/keyboards/ploopyco/trackball_nano/rules.mk
+++ b/keyboards/ploopyco/trackball_nano/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#