]> git.donarmstrong.com Git - qmk_firmware.git/blob - layouts/community/ortho_4x12/drashna/config.h
Merge branch 'master' of https://github.com/qmk/qmk_firmware
[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 D3
6 #define RGBLED_NUM 16     // Number of LEDs
7
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 false // turn off effects when suspended
21 // #define RGB_MATRIX_SKIP_FRAMES 1 // number of frames to skip when displaying animations (0 is full effect) if not defined defaults to 1
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 EECONFIG_RGB_MATRIX (uint32_t *)16
24 #endif
25
26 #if defined(KEYBOARD_lets_split_rev2)
27 #define USE_SERIAL
28 #undef USE_I2C
29
30 #define EE_HANDS
31 #endif
32
33 #if !defined(KEYBOARD_planck_light)
34 #ifdef RGBLIGHT_ENABLE
35 #define NO_MUSIC_MODE
36 #endif // RGBLIGHT_ENABLE
37 #endif // KEYBOARD_planck_light
38
39
40 /*
41  * MIDI options
42  */
43
44 /* Prevent use of disabled MIDI features in the keymap */
45 //#define MIDI_ENABLE_STRICT 1
46
47 /* enable basic MIDI features:
48    - MIDI notes can be sent when in Music mode is on
49 */
50
51 #define MIDI_BASIC
52
53 /* enable advanced MIDI features:
54    - MIDI notes can be added to the keymap
55    - Octave shift and transpose
56    - Virtual sustain, portamento, and modulation wheel
57    - etc.
58 */
59 //#define MIDI_ADVANCED
60
61 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
62 //#define MIDI_TONE_KEYCODE_OCTAVES 2