]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_4x12/drashna/config.h
[Keymap] Drashna's Feature madness (#6128)
[qmk_firmware.git] / layouts / community / ortho_4x12 / drashna / config.h
1 #pragma once
2
3 #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
4 #    define RGB_DI_PIN B3
5 #    define RGBLED_NUM 13  // Number of LEDs
6 #    define RGBLIGHT_ANIMATIONS
7 #    define RGBLIGHT_HUE_STEP 12
8 #    define RGBLIGHT_SAT_STEP 12
9 #    define RGBLIGHT_VAL_STEP 12
10 #    define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
11 #    define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
12 #    ifdef RGB_MATRIX_ENABLE
13 #        define RGBLIGHT_DISABLE_KEYCODES
14 #    endif
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_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 RGB_DISABLE_WHEN_USB_SUSPENDED true  // turn off effects when suspended
23 #endif
24
25 #if defined(KEYBOARD_lets_split_rev2)
26 #    define USE_SERIAL
27 #    undef USE_I2C
28 #    define EE_HANDS
29 #endif
30
31 #if !defined(KEYBOARD_planck_light)
32 #    ifdef RGBLIGHT_ENABLE
33 #        define NO_MUSIC_MODE
34 #    endif  // RGBLIGHT_ENABLE
35 #endif      // KEYBOARD_planck_light
36
37 #if defined(KEYBOARD_planck)
38 #    undef PRODUCT
39 #    if defined(KEYBOARD_planck_light)
40 #        define PRODUCT Drashna Hacked RGB Beacon(Planck Light)
41 #    elif defined(KEYBOARD_planck_rev6)
42 #        define PRODUCT Drashna Hacked Planck Rev6
43 #    elif defined(KEYBOARD_planck_ez)
44 #        define PRODUCT Drashna Hacked Planck EZ
45 #    endif
46 #endif
47
48 /*
49  * MIDI options
50  */
51
52 /* Prevent use of disabled MIDI features in the keymap */
53 //#define MIDI_ENABLE_STRICT 1
54
55 /* enable basic MIDI features:
56    - MIDI notes can be sent when in Music mode is on
57 */
58
59 // #define MIDI_BASIC
60
61 /* enable advanced MIDI features:
62    - MIDI notes can be added to the keymap
63    - Octave shift and transpose
64    - Virtual sustain, portamento, and modulation wheel
65    - etc.
66 */
67 //#define MIDI_ADVANCED
68
69 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
70 //#define MIDI_TONE_KEYCODE_OCTAVES 2