2 Copyright 2012 Jun Wako <wakojun@gmail.com>
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.
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.
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/>.
21 #include "config_common.h"
23 /* USB Device descriptor parameter */
25 #define DEVICE_VER 0x0003
27 /* COL2ROW or ROW2COL */
28 #define DIODE_DIRECTION COL2ROW
30 /* define if matrix has ghost */
31 //#define MATRIX_HAS_GHOST
33 /* Set 0 if debouncing isn't needed */
34 #define DEBOUNCING_DELAY 5
36 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37 #define LOCKING_SUPPORT_ENABLE
38 /* Locking resynchronize hack */
39 #define LOCKING_RESYNC_ENABLE
41 /* Backlight configuration
43 #define BACKLIGHT_LEVELS 3
45 /* Underlight configuration
47 #undef RGBLIGHT_HUE_STEP
48 #undef RGBLIGHT_SAT_STEP
49 #undef RGBLIGHT_VAL_STEP
50 #define RGBLIGHT_HUE_STEP 10
51 #define RGBLIGHT_SAT_STEP 17
52 #define RGBLIGHT_VAL_STEP 17
55 * Feature disable options
56 * These options are also useful to firmware size reduction.
59 /* disable debug print */
65 /* disable action features */
66 //#define NO_ACTION_LAYER
67 //#define NO_ACTION_TAPPING
68 //#define NO_ACTION_ONESHOT
69 //#define NO_ACTION_MACRO
70 //#define NO_ACTION_FUNCTION
74 #define TAPPING_TOGGLE 1
75 #define TAPPING_TERM 300
81 /* Prevent use of disabled MIDI features in the keymap */
82 #define MIDI_ENABLE_STRICT 1
84 /* enable basic MIDI features:
85 - MIDI notes can be sent when in Music mode is on
89 /* enable advanced MIDI features:
90 - MIDI notes can be added to the keymap
91 - Octave shift and transpose
92 - Virtual sustain, portamento, and modulation wheel
97 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
98 #define MIDI_TONE_KEYCODE_OCTAVES 2
100 // Space Cadet Rollover - if set, allows to tap opposite shift key to cancel erroneous press
101 #define DISABLE_SPACE_CADET_ROLLOVER