aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kingly_keys/soap/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kingly_keys/soap/config.h')
-rw-r--r--keyboards/kingly_keys/soap/config.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/kingly_keys/soap/config.h b/keyboards/kingly_keys/soap/config.h
new file mode 100644
index 000000000..2ffbaacc7
--- /dev/null
+++ b/keyboards/kingly_keys/soap/config.h
@@ -0,0 +1,54 @@
1/* Copyright 2019 Garret G. (TheRoyalSweatshirt)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.#pragma once
15 */
16
17#include "config_common.h"
18
19/* USB Device descriptor parameter */
20#define VENDOR_ID 0xFEED
21#define PRODUCT_ID 0x0003
22#define DEVICE_VER 0x0004
23#define MANUFACTURER Kingly-Keys
24#define PRODUCT SOAP
25#define DESCRIPTION A Sanitary "Soap" Themed Macropad with Rotary Encoder
26
27 /* key matrix size */
28#define MATRIX_ROWS 2
29#define MATRIX_COLS 4
30
31#define ENCODERS_PAD_A { D6 }
32#define ENCODERS_PAD_B { D7 }
33
34 /* key matrix pins */
35#define MATRIX_ROW_PINS { C7, C6 }
36#define MATRIX_COL_PINS { F4, F1, F0, D5 }
37#define UNUSED_PINS
38
39 /* COL2ROW or ROW2COL */
40#define DIODE_DIRECTION COL2ROW
41
42 /* Set 0 if debouncing isn't needed */
43#define DEBOUNCE 5
44
45 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
46#define LOCKING_SUPPORT_ENABLE
47
48 /* Locking resynchronize hack */
49#define LOCKING_RESYNC_ENABLE
50
51/* ws2812 RGB LED --- DIN Pin Routed to VIA on main PCB marked "RGB" */
52#define RGB_DI_PIN B6
53#define RGBLIGHT_ANIMATIONS
54#define RGBLED_NUM 3