]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_4x12/drashna/config.h
475afd213ff4f6fa6119aad7e0ad17dab4c41851
[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 #   ifdef RGB_MATRIX_ENABLE
14 #       define RGBLIGHT_DISABLE_KEYCODES
15 #   endif
16 #endif // RGBLIGHT_ENABLE
17
18 #ifdef RGB_MATRIX_ENABLE
19 #   define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
20 // #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
21 // #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
22 // #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
23 #   define RGB_DISABLE_WHEN_USB_SUSPENDED true// turn off effects when suspended
24 #   ifndef KEYBOARD_planck_ez
25 #       define EECONFIG_RGB_MATRIX (uint32_t *)15
26 #   endif
27 #endif
28
29 #if defined(KEYBOARD_lets_split_rev2)
30 #   define USE_SERIAL
31 #   undef USE_I2C
32 #   define EE_HANDS
33 #endif
34
35 #if !defined(KEYBOARD_planck_light)
36 #   ifdef RGBLIGHT_ENABLE
37 #       define NO_MUSIC_MODE
38 #   endif // RGBLIGHT_ENABLE
39 #endif // KEYBOARD_planck_light
40
41
42 #if defined(KEYBOARD_planck)
43 #   undef PRODUCT
44 #   if defined(KEYBOARD_planck_light)
45 #       define PRODUCT Drashna Hacked RGB Beacon (Planck Light)
46 #   elif defined(KEYBOARD_planck_rev6)
47 #       define PRODUCT Drashna Hacked Planck Rev6
48 #   elif defined(KEYBOARD_planck_EZ)
49 #   define PRODUCT Drashna Hacked Planck EZ
50 #   endif
51 #endif
52
53 /*
54  * MIDI options
55  */
56
57 /* Prevent use of disabled MIDI features in the keymap */
58 //#define MIDI_ENABLE_STRICT 1
59
60 /* enable basic MIDI features:
61    - MIDI notes can be sent when in Music mode is on
62 */
63
64 // #define MIDI_BASIC
65
66 /* enable advanced MIDI features:
67    - MIDI notes can be added to the keymap
68    - Octave shift and transpose
69    - Virtual sustain, portamento, and modulation wheel
70    - etc.
71 */
72 //#define MIDI_ADVANCED
73
74 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
75 //#define MIDI_TONE_KEYCODE_OCTAVES 2