|
1 |
| -/* |
2 |
| -Copyright 2022 Regan Palmer |
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 0x726B |
22 |
| -#define PRODUCT_ID 0x6D73 |
23 |
| -#define DEVICE_VER 0x0001 |
24 |
| -#define MANUFACTURER Rainkeebs |
25 |
| -#define PRODUCT Minisub |
26 |
| - |
27 |
| -/* key matrix size */ |
28 |
| -#define MATRIX_ROWS 4 |
29 |
| -#define MATRIX_COLS 12 |
30 |
| - |
31 |
| -/* Matrix */ |
32 |
| - |
33 |
| -#define MATRIX_ROW_PINS { D7, B5, F7, D4 } |
34 |
| -#define MATRIX_COL_PINS { D2, D3, D5, D6, B4, B6, F6, F5, F4, F1, F0, B3 } |
35 |
| -#define UNUSED_PINS |
36 |
| - |
37 |
| -/* COL2ROW or ROW2COL */ |
38 |
| -#define DIODE_DIRECTION COL2ROW |
39 |
| - |
40 |
| -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
41 |
| -#define DEBOUNCE 5 |
42 |
| - |
43 |
| -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
44 |
| -#define LOCKING_SUPPORT_ENABLE |
45 |
| -/* Locking resynchronize hack */ |
46 |
| -#define LOCKING_RESYNC_ENABLE |
47 |
| - |
48 |
| -/* rgb */ |
49 |
| -#define RGB_DI_PIN D0 |
50 |
| -#define RGBLED_NUM 20 |
51 |
| - |
| 1 | +// This file intentionally left blank. |
0 commit comments