3 /* Copyright 2019 Garret G. (TheRoyalSweatshirt)
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.
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.
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
19 #include "config_common.h"
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
31 #define MATRIX_COLS 14
33 #define NUMBER_OF_ENCODERS 1
34 #define ENCODERS_PAD_A { B7 }
35 #define ENCODERS_PAD_B { D5 }
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 }
42 /* COL2ROW or ROW2COL */
43 #define DIODE_DIRECTION COL2ROW
45 /* Set 0 if debouncing isn't needed */
48 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
49 #define LOCKING_SUPPORT_ENABLE
51 /* Locking resynchronize hack */
52 #define LOCKING_RESYNC_ENABLE
54 /* ws2812 RGB LED --- DIN Pin Routed to VIA on main PCB marked "RGB" */
57 #define RGBLIGHT_ANIMATIONS