]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ropro/config.h
0966faf54049d51afba6908b2e2c4dc94b4d31b1
[qmk_firmware.git] / keyboards / ropro / config.h
1 #pragma once 
2
3 /* Copyright 2019 Garret G. (TheRoyalSweatshirt)
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.#pragma once 
17  */
18
19 #include "config_common.h" 
20
21 /* USB Device descriptor parameter */
22 #define VENDOR_ID       0xFEED
23 #define PRODUCT_ID      0x0002
24 #define DEVICE_VER      0x0001
25 #define MANUFACTURER    Kingly-Keys
26 #define PRODUCT         The_RoPro
27 #define DESCRIPTION     A 75-key ortholinear keyboard with rotary encoder
28
29  /* key matrix size */
30 #define MATRIX_ROWS 7
31 #define MATRIX_COLS 14
32
33 #define NUMBER_OF_ENCODERS 1
34 #define ENCODERS_PAD_A { B7 }
35 #define ENCODERS_PAD_B { D5 }
36
37  /* key matrix pins */
38 #define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, F1, NO_PIN }
39 #define MATRIX_COL_PINS { F0, D1, D0, D4, C6, D7, E6, B4, B5, B3, B2, B6, D2, C7 }
40 #define UNUSED_PINS
41
42  /* COL2ROW or ROW2COL */
43 #define DIODE_DIRECTION COL2ROW
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
51  /* Locking resynchronize hack */
52 #define LOCKING_RESYNC_ENABLE
53
54 /* ws2812 RGB LED --- DIN Pin Routed to VIA on main PCB marked "RGB" */
55 #define RGB_DI_PIN D3
56
57 #define RGBLIGHT_ANIMATIONS
58
59 #define RGBLED_NUM 16