aboutsummaryrefslogtreecommitdiff
path: root/keyboards/jels/jels88/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jels/jels88/config.h')
-rw-r--r--keyboards/jels/jels88/config.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/keyboards/jels/jels88/config.h b/keyboards/jels/jels88/config.h
new file mode 100644
index 000000000..3018e15c8
--- /dev/null
+++ b/keyboards/jels/jels88/config.h
@@ -0,0 +1,70 @@
1/* Copyright 2021 Joah Nelson (Jels)
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/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor paramater */
22#define VENDOR_ID 0x006a // Jels (J)
23#define PRODUCT_ID 0x0088 // Jels 88
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Jels
26#define PRODUCT Jels88
27
28/* Define Matrix size */
29#define MATRIX_ROWS 12
30#define MATRIX_COLS 9
31
32/*Define Matrix Pins */
33#define MATRIX_ROW_PINS \
34 { B3, B2, D1, D0, E6, B0, F0, F1, B5, B4, D7, D6 }
35#define MATRIX_COL_PINS \
36 { C7, C6, F7, F6, F5, F4, B1, D2, D3 }
37
38/* ws2812b RGB LEDs */
39#define RGB_DI_PIN B6
40
41#ifdef RGBLIGHT_ENABLE
42#define RGBLED_NUM 20 // Number of LEDs
43#define RGBLIGHT_SLEEP
44#define RGBLIGHT_EFFECT_BREATHING
45#define RGBLIGHT_EFFECT_RAINBOW_MOOD
46#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
47#define RGBLIGHT_EFFECT_SNAKE
48#define RGBLIGHT_EFFECT_KNIGHT
49#define RGBLIGHT_EFFECT_CHRISTMAS
50#define RGBLIGHT_EFFECT_STATIC_GRADIENT
51#define RGBLIGHT_EFFECT_RGB_TEST
52#define RGBLIGHT_EFFECT_ALTERNATING
53#define RGBLIGHT_EFFECT_TWINKLE
54#define RGBLIGHT_DEFAULT_VAL 0 // start off
55#define RGBLIGHT_LIMIT_VAL 225 // keep PCB under 500mA
56#endif
57
58/* COL2ROW or ROW2COL */
59#define DIODE_DIRECTION COL2ROW
60
61/* Set 0 if debouncing isn't needed */
62#define DEBOUNCE 5
63
64/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
65#define LOCKING_SUPPORT_ENABLE
66/* Locking resynchronize hack */
67#define LOCKING_RESYNC_ENABLE
68
69#define BOOTMAGIC_LITE_ROW 1
70#define BOOTMAGIC_LITE_COLUMN 0