diff options
Diffstat (limited to 'keyboards/ai03/andromeda/config.h')
-rw-r--r-- | keyboards/ai03/andromeda/config.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/keyboards/ai03/andromeda/config.h b/keyboards/ai03/andromeda/config.h new file mode 100644 index 000000000..f88eb0212 --- /dev/null +++ b/keyboards/ai03/andromeda/config.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* | ||
2 | Copyright 2021 Andrew Kannan | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | /* USB Device descriptor parameter */ | ||
21 | #define VENDOR_ID 0xA103 | ||
22 | #define PRODUCT_ID 0x000A | ||
23 | #define DEVICE_VER 0x0001 | ||
24 | #define MANUFACTURER ai03 Design Studio | ||
25 | #define PRODUCT Andromeda | ||
26 | |||
27 | #define MATRIX_ROWS 6 | ||
28 | #define MATRIX_COLS 17 | ||
29 | |||
30 | #define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B2, B1, B0, A7, A6, B5, B8, B9 } | ||
31 | #define MATRIX_ROW_PINS { B4, B3, A15, A3, A4, A5 } | ||
32 | #define DIODE_DIRECTION COL2ROW | ||
33 | |||
34 | /* define if matrix has ghost */ | ||
35 | //#define MATRIX_HAS_GHOST | ||
36 | |||
37 | /* Set 0 if debouncing isn't needed */ | ||
38 | #define DEBOUNCE 5 | ||
39 | |||
40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
41 | #define LOCKING_SUPPORT_ENABLE | ||
42 | /* Locking resynchronize hack */ | ||
43 | #define LOCKING_RESYNC_ENABLE | ||
44 | |||
45 | #define LED_CAPS_LOCK_PIN A2 | ||
46 | #define LED_SCROLL_LOCK_PIN A1 | ||
47 | #define LED_PIN_ON_STATE 0 | ||