]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_4x12/drashna/config.h
[Keymap] Update to Drashna Keymaps (#5594)
[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 #if defined(KEYBOARD_planck)
40 #undef PRODUCT
41 #if defined(KEYBOARD_planck_light)
42 #define PRODUCT Drashna Hacked RGB Beacon (Planck Light)
43 #elif defined(KEYBOARD_planck_rev6)
44 #define PRODUCT Drashna Hacked Planck Rev6
45 #elif defined(KEYBOARD_planck_EZ)
46 #define PRODUCT Drashna Hacked Planck EZ
47 #endif
48 #endif
49
50 /*
51  * MIDI options
52  */
53
54 /* Prevent use of disabled MIDI features in the keymap */
55 //#define MIDI_ENABLE_STRICT 1
56
57 /* enable basic MIDI features:
58    - MIDI notes can be sent when in Music mode is on
59 */
60
61 #define MIDI_BASIC
62
63 /* enable advanced MIDI features:
64    - MIDI notes can be added to the keymap
65    - Octave shift and transpose
66    - Virtual sustain, portamento, and modulation wheel
67    - etc.
68 */
69 //#define MIDI_ADVANCED
70
71 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
72 //#define MIDI_TONE_KEYCODE_OCTAVES 2