aboutsummaryrefslogtreecommitdiff
path: root/keyboards/jj50/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jj50/config.h')
-rw-r--r--keyboards/jj50/config.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/jj50/config.h b/keyboards/jj50/config.h
new file mode 100644
index 000000000..240732594
--- /dev/null
+++ b/keyboards/jj50/config.h
@@ -0,0 +1,54 @@
1/*
2Base Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
3Modified 2017 Andrew Novak <ndrw.nvk@gmail.com>
4Modified 2018 Wayne Jones (WarmCatUK) <waynekjones@gmail.com>
5
6This program is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef CONFIG_H
21#define CONFIG_H
22
23#include "config_common.h"
24
25#define VENDOR_ID 0x20A0
26#define PRODUCT_ID 0x422D
27// TODO: share these strings with usbconfig.h
28// Edit usbconfig.h to change these.
29#define MANUFACTURER kprepublic
30#define PRODUCT jj50
31#define DESCRIPTION Preonic-like clone
32
33/* matrix size */
34#define MATRIX_ROWS 8
35#define MATRIX_COLS 15
36#define DIODE_DIRECTION ROW2COL
37
38#define BACKLIGHT_PIN D4
39#define BACKLIGHT_LEVELS 3
40
41//#define RGB_DI_PIN C0
42#define RGBLED_NUM 5
43#define RGBLIGHT_ANIMATIONS
44#define RGBLIGHT_HUE_STEP 12
45#define RGBLIGHT_SAT_STEP 15
46#define RGBLIGHT_VAL_STEP 18
47
48#define NO_UART 1
49#define BOOTLOADHID_BOOTLOADER 1
50
51/* key combination for command */
52#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
53
54#endif