diff options
Diffstat (limited to 'keyboards/ploopyco/trackball_mini/rev1_001/config.h')
-rw-r--r-- | keyboards/ploopyco/trackball_mini/rev1_001/config.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/ploopyco/trackball_mini/rev1_001/config.h b/keyboards/ploopyco/trackball_mini/rev1_001/config.h new file mode 100644 index 000000000..3f5941dec --- /dev/null +++ b/keyboards/ploopyco/trackball_mini/rev1_001/config.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* Copyright 2021 Colin Lam (Ploopy Corporation) | ||
2 | * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
3 | * Copyright 2019 Sunjun Kim | ||
4 | * Copyright 2019 Hiroyuki Okada | ||
5 | * | ||
6 | * This program is free software: you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation, either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | |||
20 | #pragma once | ||
21 | |||
22 | /* | ||
23 | * Keyboard Matrix Assignments | ||
24 | * | ||
25 | * Change this to how you wired your keyboard | ||
26 | * COLS: AVR pins used for columns, left to right | ||
27 | * ROWS: AVR pins used for rows, top to bottom | ||
28 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
29 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
30 | * | ||
31 | */ | ||
32 | #define DIRECT_PINS \ | ||
33 | { \ | ||
34 | { D4, D2, E6, D7, B6 } \ | ||
35 | } | ||
36 | |||
37 | // These pins are not broken out, and cannot be used normally. | ||
38 | // They are set as output and pulled high, by default | ||
39 | #define UNUSED_PINS \ | ||
40 | { B5, C7, D0, D1, D3, D5, D6, F1, F3, F5, F6, F7 } | ||