aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kingly_keys/ropro/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kingly_keys/ropro/config.h')
-rw-r--r--keyboards/kingly_keys/ropro/config.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/keyboards/kingly_keys/ropro/config.h b/keyboards/kingly_keys/ropro/config.h
new file mode 100644
index 000000000..3784ebc62
--- /dev/null
+++ b/keyboards/kingly_keys/ropro/config.h
@@ -0,0 +1,60 @@
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 ENCODERS_PAD_A { B7 }
34#define ENCODERS_PAD_B { D5 }
35
36 /* key matrix pins */
37#define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, F1, NO_PIN }
38#define MATRIX_COL_PINS { F0, D1, D0, D4, C6, D7, E6, B4, B5, B3, B2, B6, D2, C7 }
39#define UNUSED_PINS
40
41 /* COL2ROW or ROW2COL */
42#define DIODE_DIRECTION COL2ROW
43
44 /* Set 0 if debouncing isn't needed */
45#define DEBOUNCE 5
46
47 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
48#define LOCKING_SUPPORT_ENABLE
49
50 /* Locking resynchronize hack */
51#define LOCKING_RESYNC_ENABLE
52
53/* ws2812 RGB LED --- DIN Pin Routed to VIA on main PCB marked "RGB" */
54#define RGB_DI_PIN D3
55
56#define RGBLED_NUM 18
57
58#define RGBLIGHT_ANIMATIONS
59
60