diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/cannonkeys/atlas/config.h |
Diffstat (limited to 'keyboards/cannonkeys/atlas/config.h')
-rw-r--r-- | keyboards/cannonkeys/atlas/config.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/atlas/config.h b/keyboards/cannonkeys/atlas/config.h new file mode 100644 index 000000000..1ba5c0fb0 --- /dev/null +++ b/keyboards/cannonkeys/atlas/config.h | |||
@@ -0,0 +1,72 @@ | |||
1 | /* | ||
2 | Copyright 2015 Jun Wako <[email protected]> | ||
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 0xCA04 | ||
22 | #define PRODUCT_ID 0xA7A5 | ||
23 | #define DEVICE_VER 0x0001 | ||
24 | #define MANUFACTURER CannonKeys | ||
25 | #define PRODUCT Atlas | ||
26 | |||
27 | /* key matrix size */ | ||
28 | #define MATRIX_ROWS 5 | ||
29 | #define MATRIX_COLS 12 | ||
30 | |||
31 | #define MATRIX_COL_PINS { A2, A1, A0, F1, F0, C15, C14, C13, B9, A15, A10, A9 } | ||
32 | #define MATRIX_ROW_PINS { A8, B14, B12, B4, B3 } | ||
33 | #define DIODE_DIRECTION COL2ROW | ||
34 | |||
35 | /* define if matrix has ghost */ | ||
36 | //#define MATRIX_HAS_GHOST | ||
37 | |||
38 | /* Set 0 if debouncing isn't needed */ | ||
39 | #define DEBOUNCE 5 | ||
40 | |||
41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
42 | #define LOCKING_SUPPORT_ENABLE | ||
43 | /* Locking resynchronize hack */ | ||
44 | #define LOCKING_RESYNC_ENABLE | ||
45 | |||
46 | #define RGBLIGHT_ANIMATIONS | ||
47 | |||
48 | |||
49 | #define WS2812_SPI SPID2 | ||
50 | #define RGB_DI_PIN B15 | ||
51 | #define RGBLED_NUM 22 | ||
52 | #define WS2812_SPI_MOSI_PAL_MODE 0 | ||
53 | #define WS2812_SPI_SCK_PAL_MODE 0 | ||
54 | #define WS2812_SPI_SCK_PIN B13 | ||
55 | |||
56 | /* | ||
57 | * Feature disable options | ||
58 | * These options are also useful to firmware size reduction. | ||
59 | */ | ||
60 | |||
61 | /* disable debug print */ | ||
62 | //#define NO_DEBUG | ||
63 | |||
64 | /* disable print */ | ||
65 | //#define NO_PRINT | ||
66 | |||
67 | /* disable action features */ | ||
68 | //#define NO_ACTION_LAYER | ||
69 | //#define NO_ACTION_TAPPING | ||
70 | //#define NO_ACTION_ONESHOT | ||
71 | //#define NO_ACTION_MACRO | ||
72 | //#define NO_ACTION_FUNCTION | ||