]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/jm60/config.h
Merge ChibiOS and LUFA descriptor support (#2362)
[qmk_firmware.git] / keyboards / jm60 / config.h
1 /*
2 Copyright 2015 Jun Wako <wakojun@gmail.com>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef CONFIG_H
19 #define CONFIG_H
20
21 #define PREVENT_STUCK_MODIFIERS
22
23 /* USB Device descriptor parameter */
24 #define VENDOR_ID       0xFEED
25 #define PRODUCT_ID      0x6464
26 #define DEVICE_VER      0x0001
27 /* in python2: list(u"whatever".encode('utf-16-le')) */
28 /*   at most 32 characters or the ugly hack in usb_main.c borks */
29 #define MANUFACTURER JMWS
30 #define PRODUCT JM60 RGB Keyboard(QMK)
31 #define DESCRIPTION QMK keyboard firmware for JM60 RGB Keyboard
32
33 /* key matrix size */
34 #define MATRIX_ROWS 5
35 #define MATRIX_COLS 14
36
37 /* number of backlight levels */
38 //#define BACKLIGHT_LEVELS 1
39
40 //#define LED_BRIGHTNESS_LO       100
41 //#define LED_BRIGHTNESS_HI       255
42
43 /* define if matrix has ghost */
44 //#define MATRIX_HAS_GHOST
45
46 /* Set 0 if debouncing isn't needed */
47 #define DEBOUNCE    5
48
49 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
50 //#define LOCKING_SUPPORT_ENABLE
51
52 /* Locking resynchronize hack */
53 #define LOCKING_RESYNC_ENABLE
54
55 /* key combination for command */
56 #define IS_COMMAND() ( \
57     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
58 )
59
60 /*
61  * Feature disable options
62  *  These options are also useful to firmware size reduction.
63  */
64
65 /* disable debug print */
66 //#define NO_DEBUG
67
68 /* disable print */
69 //#define NO_PRINT
70
71 /* disable action features */
72 //#define NO_ACTION_LAYER
73 //#define NO_ACTION_TAPPING
74 //#define NO_ACTION_ONESHOT
75 //#define NO_ACTION_MACRO
76 //#define NO_ACTION_FUNCTION
77
78 #endif