summaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/mouse
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/mouse
parent2222836f092ff52e0e93250ff91048cbb9071877 (diff)
Move layouts for direct_pins boards to data driven (#19872)
Diffstat (limited to 'keyboards/ploopyco/mouse')
-rw-r--r--keyboards/ploopyco/mouse/info.json16
-rw-r--r--keyboards/ploopyco/mouse/mouse.h3
2 files changed, 8 insertions, 11 deletions
diff --git a/keyboards/ploopyco/mouse/info.json b/keyboards/ploopyco/mouse/info.json
index 522f996ef8..c8889f59f9 100644
--- a/keyboards/ploopyco/mouse/info.json
+++ b/keyboards/ploopyco/mouse/info.json
@@ -21,14 +21,14 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":1, "y":0, "h":2},
- {"x":2, "y":0, "h":2},
- {"x":3, "y":0.25, "h":1.25},
- {"x":4, "y":0, "h":2},
- {"x":5, "y":0, "h":2},
- {"x":0, "y":0},
- {"x":0, "y":1},
- {"x":3, "y":1.5}
+ {"x":1, "y":0, "h":2, "matrix": [0, 6]},
+ {"x":2, "y":0, "h":2, "matrix": [0, 0]},
+ {"x":3, "y":0.25, "h":1.25, "matrix": [0, 1]},
+ {"x":4, "y":0, "h":2, "matrix": [0, 2]},
+ {"x":5, "y":0, "h":2, "matrix": [0, 5]},
+ {"x":0, "y":0, "matrix": [0, 3]},
+ {"x":0, "y":1, "matrix": [0, 4]},
+ {"x":3, "y":1.5, "matrix": [0, 7]}
]
}
}
diff --git a/keyboards/ploopyco/mouse/mouse.h b/keyboards/ploopyco/mouse/mouse.h
index 8383049aa5..508a883169 100644
--- a/keyboards/ploopyco/mouse/mouse.h
+++ b/keyboards/ploopyco/mouse/mouse.h
@@ -30,9 +30,6 @@
void process_wheel(void);
-#define LAYOUT(BLL, BL, BM, BR, BRR, BF, BB, BDPI) \
- { {BL, BM, BR, BF, BB, BRR, BLL, BDPI}, }
-
typedef union {
uint32_t raw;
struct {