]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/drashna/config.h
Keymap: Update for Drashna code - Proton C Prep Edition (#4708)
[qmk_firmware.git] / users / drashna / config.h
1 #pragma once
2
3
4 #ifdef AUDIO_ENABLE
5 #define AUDIO_CLICKY
6 #define STARTUP_SONG SONG(RICK_ROLL)
7 #define GOODBYE_SONG  SONG(SONIC_RING)
8 #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
9                                   SONG(COLEMAK_SOUND), \
10                                   SONG(DVORAK_SOUND), \
11                                   SONG(OVERWATCH_THEME) \
12                                 }
13
14 #define AUDIO_CLICKY_FREQ_RANDOMNESS 1.5f
15 // #ifdef RGBLIGHT_ENABLE
16 // #define NO_MUSIC_MODE
17 // #endif //RGBLIGHT_ENABLE/
18 #ifndef __arm__
19 #undef  NOTE_REST
20 #define NOTE_REST         1.00f
21 #endif // !__arm__
22 #endif // !AUDIO_ENABLE
23
24 #ifdef RGBLIGHT_ENABLE
25 #define RGBLIGHT_SLEEP
26 #undef RGBLIGHT_ANIMATIONS
27 #define RGBLIGHT_EFFECT_BREATHING
28 #define RGBLIGHT_EFFECT_SNAKE
29 #define RGBLIGHT_EFFECT_KNIGHT
30 #endif // RGBLIGHT_ENABLE
31
32 #ifndef ONESHOT_TAP_TOGGLE
33 #define ONESHOT_TAP_TOGGLE 2
34 #endif // !ONESHOT_TAP_TOGGLE
35
36 #ifndef ONESHOT_TIMEOUT
37 #define ONESHOT_TIMEOUT 3000
38 #endif// !ONESHOT_TIMEOUT
39
40 #ifndef QMK_KEYS_PER_SCAN
41 #define QMK_KEYS_PER_SCAN 4
42 #endif // !QMK_KEYS_PER_SCAN
43
44
45
46 // this makes it possible to do rolling combos (zx) with keys that
47 // convert to other keys on hold (z becomes ctrl when you hold it,
48 // and when this option isn't enabled, z rapidly followed by x
49 // actually sends Ctrl-x. That's bad.)
50 #define IGNORE_MOD_TAP_INTERRUPT
51 #undef PERMISSIVE_HOLD
52 //#define TAPPING_FORCE_HOLD
53 //#define RETRO_TAPPING
54
55 #define FORCE_NKRO
56
57 #ifndef TAPPING_TOGGLE
58 #define TAPPING_TOGGLE  1
59 #endif
60
61 #ifdef TAPPING_TERM
62 #undef TAPPING_TERM
63 #endif // TAPPING_TERM
64 #if defined(KEYBOARD_ergodox_ez)
65   #define TAPPING_TERM 185
66 #elif defined(KEYBOARD_crkbd)
67   #define TAPPING_TERM 200
68 #else
69   #define TAPPING_TERM 175
70 #endif
71
72
73 // Disable action_get_macro and fn_actions, since we don't use these
74 // and it saves on space in the firmware.
75 #define NO_ACTION_MACRO
76 #define NO_ACTION_FUNCTION
77
78 #define MACRO_TIMER 5