]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/s60_x/keymaps/bluebear/config.h
Keyboard: Tradestation code tidy and readme refactor (#4784)
[qmk_firmware.git] / keyboards / s60_x / keymaps / bluebear / config.h
1 /*
2 Copyright 2012 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_USER_H
19 #define CONFIG_USER_H
20
21 #include "config_common.h"
22
23 /* USB Device descriptor parameter */
24 #undef DEVICE_VER
25 #define DEVICE_VER      0x0003
26
27 /* COL2ROW or ROW2COL */
28 #define DIODE_DIRECTION COL2ROW
29
30 /* define if matrix has ghost */
31 //#define MATRIX_HAS_GHOST
32
33 /* Set 0 if debouncing isn't needed */
34 #define DEBOUNCING_DELAY 5
35
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
40
41 /* key combination for command */
42 #define IS_COMMAND() ( \
43     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
44 )
45
46 /* Backlight configuration
47  */
48 #define BACKLIGHT_LEVELS 3
49
50 /* Underlight configuration
51  */
52 #undef RGBLIGHT_HUE_STEP
53 #undef RGBLIGHT_SAT_STEP
54 #undef RGBLIGHT_VAL_STEP
55 #define RGBLIGHT_HUE_STEP 10
56 #define RGBLIGHT_SAT_STEP 17
57 #define RGBLIGHT_VAL_STEP 17
58
59 /*
60  * Feature disable options
61  *  These options are also useful to firmware size reduction.
62  */
63
64 /* disable debug print */
65 //#define NO_DEBUG
66
67 /* disable print */
68 //#define NO_PRINT
69
70 /* disable action features */
71 //#define NO_ACTION_LAYER
72 //#define NO_ACTION_TAPPING
73 //#define NO_ACTION_ONESHOT
74 //#define NO_ACTION_MACRO
75 //#define NO_ACTION_FUNCTION
76
77 // For Tap Dancing
78
79 #define TAPPING_TOGGLE 1
80 #define TAPPING_TERM 300
81
82 /*
83  * MIDI options
84  */
85
86 /* Prevent use of disabled MIDI features in the keymap */
87 #define MIDI_ENABLE_STRICT 1
88
89 /* enable basic MIDI features:
90    - MIDI notes can be sent when in Music mode is on
91 */
92 #define MIDI_BASIC
93
94 /* enable advanced MIDI features:
95    - MIDI notes can be added to the keymap
96    - Octave shift and transpose
97    - Virtual sustain, portamento, and modulation wheel
98    - etc.
99 */
100 #define MIDI_ADVANCED
101
102 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
103 #define MIDI_TONE_KEYCODE_OCTAVES 2
104
105 // Space Cadet Rollover - if set, allows to tap opposite shift key to cancel erroneous press
106 #define DISABLE_SPACE_CADET_ROLLOVER
107
108 #endif