diff options
Diffstat (limited to 'keyboards/pearlboards/zeus/config.h')
-rw-r--r-- | keyboards/pearlboards/zeus/config.h | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/keyboards/pearlboards/zeus/config.h b/keyboards/pearlboards/zeus/config.h new file mode 100644 index 000000000..7de94efcc --- /dev/null +++ b/keyboards/pearlboards/zeus/config.h | |||
@@ -0,0 +1,104 @@ | |||
1 | /* | ||
2 | Copyright 2021 Koobaczech | ||
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 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x6963 | ||
24 | #define PRODUCT_ID 0x6966 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Koobaczech | ||
27 | #define PRODUCT Zeus | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 6 | ||
31 | #define MATRIX_COLS 18 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { F0, C1, E1, E0, D7, D6 } | ||
44 | #define MATRIX_COL_PINS { F1, F2, F3, F4, F5, F6, F7, A0, A1, A2, A3, A4, A5, A6, A7, C7, C2, C0 } | ||
45 | #define UNUSED_PINS { E3, E4, E5, B0, B4, B5, B6, B7, D4 } | ||
46 | |||
47 | /* COL2ROW, ROW2COL*/ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | /* Encoder Function */ | ||
51 | #define ENCODERS_PAD_A { E7 } | ||
52 | #define ENCODERS_PAD_B { E6 } | ||
53 | //#define ENCODER_DIRECTION_FLIP | ||
54 | #define ENCODER_RESOLUTION 1 | ||
55 | |||
56 | /* Audio Function */ | ||
57 | #define AUDIO_CLICKY | ||
58 | #define AUDIO_PIN C6 | ||
59 | #ifdef AUDIO_ENABLE | ||
60 | #define AUDIO_ENABLE_TONE_MULTIPLEXING | ||
61 | #define AUDIO_TONE_MULTIPLEXING_RATE_DEFAULT 10 | ||
62 | #endif | ||
63 | |||
64 | /* Haptic feedback */ | ||
65 | #define FB_ERM_LRA 0 | ||
66 | #define FB_BRAKEFACTOR 1 // For 1x:0, 2x:1, 3x:2, 4x:3, 6x:4, 8x:5, 16x:6, Disable Braking:7 | ||
67 | #define FB_LOOPGAIN 3 // For Low:0, Medium:1, High:2, Very High:3 | ||
68 | /* Motor settings */ | ||
69 | #define RATED_VOLTAGE 2 | ||
70 | #define V_PEAK 5 | ||
71 | |||
72 | /*== all animations enabled ==*/ | ||
73 | /* If RGBLIGHT_SLEEP defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
74 | #define RGB_DI_PIN D5 | ||
75 | #ifdef RGB_DI_PIN | ||
76 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
77 | #define RGBLIGHT_EFFECT_BREATHING | ||
78 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
79 | #define RGBLIGHT_EFFECT_KNIGHT | ||
80 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
81 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
82 | #define RGBLIGHT_EFFECT_SNAKE | ||
83 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
84 | #define RGBLIGHT_EFFECT_TWINKLE | ||
85 | #define RGBLED_NUM 2 | ||
86 | #define RGBLIGHT_HUE_STEP 8 | ||
87 | #define RGBLIGHT_SAT_STEP 8 | ||
88 | #define RGBLIGHT_VAL_STEP 8 | ||
89 | #define RGBLIGHT_SLEEP | ||
90 | #endif | ||
91 | |||
92 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
93 | #define DEBOUNCE 5 | ||
94 | |||
95 | /* Indicator Led's*/ | ||
96 | #define LED_CAPS_LOCK_PIN C5 | ||
97 | #define LED_NUM_LOCK_PIN C4 | ||
98 | #define LED_SCROLL_LOCK_PIN C3 | ||
99 | #define LED_PIN_ON_STATE 0 | ||
100 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
101 | #define LOCKING_SUPPORT_ENABLE | ||
102 | |||
103 | /* Locking resynchronize hack */ | ||
104 | #define LOCKING_RESYNC_ENABLE | ||