]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_4x12/drashna/config.h
Update to drashna keymaps (#4365)
[qmk_firmware.git] / layouts / community / ortho_4x12 / drashna / config.h
1 #ifndef CONFIG_USER_H
2 #define CONFIG_USER_H
3
4
5 #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
6 #define RGB_DI_PIN D3
7 #define RGBLED_NUM 16     // Number of LEDs
8
9 #define RGBLIGHT_HUE_STEP 12
10 #define RGBLIGHT_SAT_STEP 12
11 #define RGBLIGHT_VAL_STEP 12
12 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
13 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
14 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
15 #endif // RGBLIGHT_ENABLE
16
17 #ifdef RGB_MATRIX_ENABLE
18 #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
19 // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
20 // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
21 // #define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
22 // #define RGB_MATRIX_SKIP_FRAMES 1 // number of frames to skip when displaying animations (0 is full effect) if not defined defaults to 1
23 // #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
24 // #define EECONFIG_RGB_MATRIX (uint32_t *)16
25 #endif
26
27 #if defined(KEYBOARD_lets_split_rev2)
28 #define USE_SERIAL
29 #undef USE_I2C
30
31 #define EE_HANDS
32 #endif
33
34 #if defined(KEYBOARD_planck_rev5)
35 #ifdef RGBLIGHT_ENABLE
36 #define NO_MUSIC_MODE
37 #endif // RGBLIGHT_ENABLE
38 #endif // KEYBOARD_planck_rev5
39
40
41 /*
42  * MIDI options
43  */
44
45 /* Prevent use of disabled MIDI features in the keymap */
46 //#define MIDI_ENABLE_STRICT 1
47
48 /* enable basic MIDI features:
49    - MIDI notes can be sent when in Music mode is on
50 */
51
52 #define MIDI_BASIC
53
54 /* enable advanced MIDI features:
55    - MIDI notes can be added to the keymap
56    - Octave shift and transpose
57    - Virtual sustain, portamento, and modulation wheel
58    - etc.
59 */
60 //#define MIDI_ADVANCED
61
62 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
63 //#define MIDI_TONE_KEYCODE_OCTAVES 2
64
65 #endif