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/cu75/config.h |
Diffstat (limited to 'keyboards/cu75/config.h')
-rw-r--r-- | keyboards/cu75/config.h | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/keyboards/cu75/config.h b/keyboards/cu75/config.h new file mode 100644 index 000000000..cfcb08cce --- /dev/null +++ b/keyboards/cu75/config.h | |||
@@ -0,0 +1,94 @@ | |||
1 | /* | ||
2 | Copyright 2012 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 | #include "config_common.h" | ||
21 | |||
22 | #define VENDOR_ID 0xFEED | ||
23 | #define PRODUCT_ID 0x6062 | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER LFKeyboards/CapsUnlocked | ||
26 | #define PRODUCT CU75 | ||
27 | |||
28 | #define DIODE_DIRECTION COL2ROW | ||
29 | #define MATRIX_ROWS 6 | ||
30 | #define MATRIX_COLS 16 | ||
31 | #define MATRIX_ROW_PINS {F1, B7, B3, D2, D3, B2} | ||
32 | #define MATRIX_COL_PINS {F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, B1, B0, F0} | ||
33 | #define UNUSED_PINS {} | ||
34 | |||
35 | #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile | ||
36 | #define RGBLED_NUM 24 // Number of LEDs | ||
37 | #define RGBLIGHT_ANIMATIONS | ||
38 | #define RGBLIGHT_HUE_STEP 10 | ||
39 | #define RGBLIGHT_SAT_STEP 17 | ||
40 | #define RGBLIGHT_VAL_STEP 17 | ||
41 | |||
42 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
43 | #define DEBOUNCE 5 | ||
44 | |||
45 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
46 | //#define MATRIX_HAS_GHOST | ||
47 | |||
48 | /* number of backlight levels */ | ||
49 | #define BACKLIGHT_LEVELS 8 | ||
50 | #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} | ||
51 | |||
52 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
53 | #define LOCKING_SUPPORT_ENABLE | ||
54 | /* Locking resynchronize hack */ | ||
55 | #define LOCKING_RESYNC_ENABLE | ||
56 | |||
57 | /* | ||
58 | * Force NKRO | ||
59 | * | ||
60 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
61 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
62 | * makefile for this to work.) | ||
63 | * | ||
64 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
65 | * until the next keyboard reset. | ||
66 | * | ||
67 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
68 | * fully operational during normal computer usage. | ||
69 | * | ||
70 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
71 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
72 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
73 | * power-up. | ||
74 | * | ||
75 | */ | ||
76 | //#define FORCE_NKRO | ||
77 | |||
78 | /* | ||
79 | * Feature disable options | ||
80 | * These options are also useful to firmware size reduction. | ||
81 | */ | ||
82 | |||
83 | /* disable debug print */ | ||
84 | //#define NO_DEBUG | ||
85 | |||
86 | /* disable print */ | ||
87 | //#define NO_PRINT | ||
88 | |||
89 | /* disable action features */ | ||
90 | //#define NO_ACTION_LAYER | ||
91 | //#define NO_ACTION_TAPPING | ||
92 | //#define NO_ACTION_ONESHOT | ||
93 | //#define NO_ACTION_MACRO | ||
94 | //#define NO_ACTION_FUNCTION | ||