Commit | Line | Data |
---|---|---|
00dfa73e W |
1 | /* |
2 | Base Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com> | |
3 | Modified 2017 Andrew Novak <ndrw.nvk@gmail.com> | |
4 | Modified 2018 Wayne Jones (WarmCatUK) <waynekjones@gmail.com> | |
5 | ||
6 | This program is free software: you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
8 | the Free Software Foundation, either version 2 of the License, or | |
9 | (at your option) any later version. | |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | */ | |
19 | ||
20 | #ifndef CONFIG_H | |
21 | #define CONFIG_H | |
22 | ||
23 | #include "config_common.h" | |
24 | ||
25 | #define VENDOR_ID 0x20A0 | |
26 | #define PRODUCT_ID 0x422D | |
519df78c | 27 | #define DEVICE_VER 0x0200 |
00dfa73e W |
28 | // TODO: share these strings with usbconfig.h |
29 | // Edit usbconfig.h to change these. | |
30 | #define MANUFACTURER kprepublic | |
31 | #define PRODUCT jj50 | |
32 | #define DESCRIPTION Preonic-like clone | |
33 | ||
34 | /* matrix size */ | |
2557bc8e | 35 | #define MATRIX_ROWS 5 |
36 | #define MATRIX_COLS 12 | |
37 | #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 } | |
38 | #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 } | |
39 | #define DIODE_DIRECTION COL2ROW | |
00dfa73e | 40 | |
f5209aa4 | 41 | #define BACKLIGHT_PIN D4 |
93384206 | 42 | #define BACKLIGHT_LEVELS 12 |
00dfa73e | 43 | |
93384206 W |
44 | #define RGB_DI_PIN E2 |
45 | #define RGBLED_NUM 12 | |
00dfa73e W |
46 | #define RGBLIGHT_ANIMATIONS |
47 | #define RGBLIGHT_HUE_STEP 12 | |
48 | #define RGBLIGHT_SAT_STEP 15 | |
49 | #define RGBLIGHT_VAL_STEP 18 | |
50 | ||
00dfa73e | 51 | #endif |