summaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/trackball_mini
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-19 18:55:12 +1100
committerGitHub <noreply@github.com>2023-02-19 18:55:12 +1100
commite837a32b2b4d6eb96ffacad0022699d67c0f8f1e (patch)
treef5628f3adb0c1403aa919c909c6a768d2bee0588 /keyboards/ploopyco/trackball_mini
parent2222836f092ff52e0e93250ff91048cbb9071877 (diff)
Move layouts for direct_pins boards to data driven (#19872)
Diffstat (limited to 'keyboards/ploopyco/trackball_mini')
-rw-r--r--keyboards/ploopyco/trackball_mini/info.json10
-rw-r--r--keyboards/ploopyco/trackball_mini/trackball_mini.h3
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/ploopyco/trackball_mini/info.json b/keyboards/ploopyco/trackball_mini/info.json
index 1c8ed6351a..e3daea0575 100644
--- a/keyboards/ploopyco/trackball_mini/info.json
+++ b/keyboards/ploopyco/trackball_mini/info.json
@@ -16,11 +16,11 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0, "h":2},
- {"x":1, "y":0.25, "h":1.5},
- {"x":2, "y":0, "h":2},
- {"x":3.5, "y":0, "h":2},
- {"x":4.5, "y":0, "h":2}
+ {"x":0, "y":0, "h":2, "matrix": [0, 0]},
+ {"x":1, "y":0.25, "h":1.5, "matrix": [0, 1]},
+ {"x":2, "y":0, "h":2, "matrix": [0, 2]},
+ {"x":3.5, "y":0, "h":2, "matrix": [0, 3]},
+ {"x":4.5, "y":0, "h":2, "matrix": [0, 4]}
]
}
}
diff --git a/keyboards/ploopyco/trackball_mini/trackball_mini.h b/keyboards/ploopyco/trackball_mini/trackball_mini.h
index 3af2a49b5e..3410751cb0 100644
--- a/keyboards/ploopyco/trackball_mini/trackball_mini.h
+++ b/keyboards/ploopyco/trackball_mini/trackball_mini.h
@@ -31,9 +31,6 @@
void process_wheel(void);
-#define LAYOUT(BL, BM, BR, BF, BB) \
- { {BL, BM, BR, BF, BB}, }
-
typedef union {
uint32_t raw;
struct {