diff options
Diffstat (limited to 'keyboards/esca/getawayvan_f042/config.h')
-rw-r--r-- | keyboards/esca/getawayvan_f042/config.h | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/keyboards/esca/getawayvan_f042/config.h b/keyboards/esca/getawayvan_f042/config.h new file mode 100644 index 000000000..f83ec7434 --- /dev/null +++ b/keyboards/esca/getawayvan_f042/config.h | |||
@@ -0,0 +1,77 @@ | |||
1 | /* | ||
2 | Copyright 2015 Jun Wako <wakojun@gmail.com> | ||
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 0xE5CA | ||
24 | #define PRODUCT_ID 0x0401 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER esca | ||
27 | #define PRODUCT GetawayVan | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 4 | ||
31 | #define MATRIX_COLS 12 | ||
32 | |||
33 | #define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A4, A13, A10, C13, C14 } | ||
34 | #define MATRIX_ROW_PINS { A9, A8, A3, A5 } | ||
35 | #define DIODE_DIRECTION COL2ROW | ||
36 | |||
37 | #define BACKLIGHT_PIN | ||
38 | #define BACKLIGHT_LEVELS 6 | ||
39 | |||
40 | #define GRAVE_ESC_CTRL_OVERRIDE | ||
41 | |||
42 | /* define if matrix has ghost */ | ||
43 | //#define MATRIX_HAS_GHOST | ||
44 | |||
45 | /* Set 0 if debouncing isn't needed */ | ||
46 | #define DEBOUNCE 5 | ||
47 | |||
48 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
49 | //#define LOCKING_SUPPORT_ENABLE | ||
50 | /* Locking resynchronize hack */ | ||
51 | //#define LOCKING_RESYNC_ENABLE | ||
52 | |||
53 | #define RGBLIGHT_ANIMATIONS | ||
54 | #define RGB_DI_PIN B15 | ||
55 | #define RGBLED_NUM 51 | ||
56 | #define RGBLIGHT_HUE_STEP 20 | ||
57 | #define RGBLIGHT_SAT_STEP 17 | ||
58 | #define RGBLIGHT_VAL_STEP 17 | ||
59 | #define RGBLIGHT_LIMIT_VAL 128 | ||
60 | |||
61 | /* | ||
62 | * Feature disable options | ||
63 | * These options are also useful to firmware size reduction. | ||
64 | */ | ||
65 | |||
66 | /* disable debug print */ | ||
67 | //#define NO_DEBUG` | ||
68 | |||
69 | /* disable print */ | ||
70 | //#define NO_PRINT | ||
71 | |||
72 | /* disable action features */ | ||
73 | //#define NO_ACTION_LAYER | ||
74 | //#define NO_ACTION_TAPPING | ||
75 | //#define NO_ACTION_ONESHOT | ||
76 | //#define NO_ACTION_MACRO | ||
77 | //#define NO_ACTION_FUNCTION | ||