]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_4x12/drashna/config.h
Merge pull request #5536 from stanrc85/feature/updates
[qmk_firmware.git] / layouts / community / ortho_4x12 / drashna / config.h
1 #pragma once
2
3
4 #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
5 #define RGB_DI_PIN B3
6 #define RGBLED_NUM 13     // Number of LEDs
7 #define RGBLIGHT_ANIMATIONS
8 #define RGBLIGHT_HUE_STEP 12
9 #define RGBLIGHT_SAT_STEP 12
10 #define RGBLIGHT_VAL_STEP 12
11 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
12 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
13 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
14 #endif // RGBLIGHT_ENABLE
15
16 #ifdef RGB_MATRIX_ENABLE
17 #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
18 // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
19 // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
20 #define RGB_DISABLE_WHEN_USB_SUSPENDED true// turn off effects when suspended
21 // #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
22 #define EECONFIG_RGB_MATRIX (uint32_t *)15
23 #endif
24
25 #if defined(KEYBOARD_lets_split_rev2)
26 #define USE_SERIAL
27 #undef USE_I2C
28
29 #define EE_HANDS
30 #endif
31
32 #if !defined(KEYBOARD_planck_light)
33 #ifdef RGBLIGHT_ENABLE
34 #define NO_MUSIC_MODE
35 #endif // RGBLIGHT_ENABLE
36 #endif // KEYBOARD_planck_light
37
38
39 /*
40  * MIDI options
41  */
42
43 /* Prevent use of disabled MIDI features in the keymap */
44 //#define MIDI_ENABLE_STRICT 1
45
46 /* enable basic MIDI features:
47    - MIDI notes can be sent when in Music mode is on
48 */
49
50 #define MIDI_BASIC
51
52 /* enable advanced MIDI features:
53    - MIDI notes can be added to the keymap
54    - Octave shift and transpose
55    - Virtual sustain, portamento, and modulation wheel
56    - etc.
57 */
58 //#define MIDI_ADVANCED
59
60 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
61 //#define MIDI_TONE_KEYCODE_OCTAVES 2
62
63 #define TAP_CODE_DELAY 10