]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/drashna/config.h
[Keymap] Update to drashna keymaps: Conform to QMK Standards Edition (#5377)
[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
23 #define UNICODE_SONG_OSX SONG(RICK_ROLL)
24 #define UNICODE_SONG_LNX SONG(RICK_ROLL)
25 #define UNICODE_SONG_WIN SONG(RICK_ROLL)
26 #define UNICODE_SONG_BSD SONG(RICK_ROLL)
27 #define UNICODE_SONG_WINC SONG(RICK_ROLL)
28
29 #endif // !AUDIO_ENABLE
30
31 #ifdef RGBLIGHT_ENABLE
32   #define RGBLIGHT_SLEEP
33   #undef RGBLIGHT_ANIMATIONS
34   #define RGBLIGHT_EFFECT_BREATHING
35   #define RGBLIGHT_EFFECT_SNAKE
36   #define RGBLIGHT_EFFECT_KNIGHT
37 #endif // RGBLIGHT_ENABLE
38
39 #ifndef ONESHOT_TAP_TOGGLE
40   #define ONESHOT_TAP_TOGGLE 2
41 #endif // !ONESHOT_TAP_TOGGLE
42
43 #ifndef ONESHOT_TIMEOUT
44   #define ONESHOT_TIMEOUT 3000
45 #endif// !ONESHOT_TIMEOUT
46
47 #ifndef QMK_KEYS_PER_SCAN
48   #define QMK_KEYS_PER_SCAN 4
49 #endif // !QMK_KEYS_PER_SCAN
50
51
52
53 // this makes it possible to do rolling combos (zx) with keys that
54 // convert to other keys on hold (z becomes ctrl when you hold it,
55 // and when this option isn't enabled, z rapidly followed by x
56 // actually sends Ctrl-x. That's bad.)
57 #define IGNORE_MOD_TAP_INTERRUPT
58 #undef PERMISSIVE_HOLD
59 //#define TAPPING_FORCE_HOLD
60 //#define RETRO_TAPPING
61
62 #define FORCE_NKRO
63
64 #ifndef TAPPING_TOGGLE
65   #define TAPPING_TOGGLE  1
66 #endif
67
68 #ifdef TAPPING_TERM
69   #undef TAPPING_TERM
70 #endif // TAPPING_TERM
71 #if defined(KEYBOARD_ergodox_ez)
72   #define TAPPING_TERM 185
73 #elif defined(KEYBOARD_crkbd)
74   #define TAPPING_TERM 200
75 #else
76   #define TAPPING_TERM 175
77 #endif
78
79
80 // Disable action_get_macro and fn_actions, since we don't use these
81 // and it saves on space in the firmware.
82 #define NO_ACTION_MACRO
83 #define NO_ACTION_FUNCTION
84
85 #define MACRO_TIMER 5