summaryrefslogtreecommitdiff
path: root/keyboards/handwired/aball
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-14 18:39:41 +1100
committerGitHub <noreply@github.com>2023-02-14 00:39:41 -0700
commit2cdf99ae950a82e233482347651b7689c4896827 (patch)
treef26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/handwired/aball
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/handwired/aball')
-rw-r--r--keyboards/handwired/aball/config.h7
-rw-r--r--keyboards/handwired/aball/info.json5
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/handwired/aball/config.h b/keyboards/handwired/aball/config.h
index 32d16d82f9..cbe0c8b33e 100644
--- a/keyboards/handwired/aball/config.h
+++ b/keyboards/handwired/aball/config.h
@@ -17,12 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* key matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 1
-
-#define DIRECT_PINS {{NO_PIN}}
-
#define ADNS9800_CS_PIN F7
#define POINTING_DEVICE_INVERT_X
diff --git a/keyboards/handwired/aball/info.json b/keyboards/handwired/aball/info.json
index cb34aa7034..84d277c136 100644
--- a/keyboards/handwired/aball/info.json
+++ b/keyboards/handwired/aball/info.json
@@ -10,6 +10,11 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "matrix_pins": {
+ "direct": [
+ [null]
+ ]
+ },
"layouts": {
"LAYOUT": {
"layout": [