diff options
| author | Drashna Jaelre <drashna@live.com> | 2019-05-06 22:34:09 -0700 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-05-06 22:34:09 -0700 |
| commit | f3d5b1091d364468cd9f5510aef9e723d8542279 (patch) | |
| tree | 762b8f562b1e96e42657f872fd4b04c8efaaa829 /users/drashna/config.h | |
| parent | 7a751f114114bf3b78d5d8fc8bedf2b42b665dba (diff) | |
| download | qmk_firmware-f3d5b1091d364468cd9f5510aef9e723d8542279.tar.gz qmk_firmware-f3d5b1091d364468cd9f5510aef9e723d8542279.zip | |
[Keymap] RGB Changes for Drashna Keyboards (#5803)
* Disable a bunch of reactive modes
* Enable rgb matrix for Corne Keyboard
* Convert CRKBD to rgb matrix
* Add Gergo keyboard layout
* Make Diablo 3 tap dance better
* Add basic support for Planck EZ
* Fix RGB Matrix stuff
* Fix keycodes for Planck EZ
* Update CRKBD OLED stuff
* Fix typo for sleep on ergodox glow
* Improve my gergo layout
* Scrolling OLED key logger!
* Change gergo layout
* Hnadle unicode keycodes if unicode is disabled
* Disable COMMAND/CONSOLE for gergo
* Fix right side control
* Re-enable LTO for all platforms
Since I got updated arm gcc binaries that no longer error out on lto
* Update formatting to match newer community standards
Poor 2 space
* Re-alight startup animation to use new HUE range
* Streamline gitlab ci scripts
* Disabled Space Cadet
* Add support for breathing table
* Enable new LTO Option
And clean up defines that will now be repeatitive
* Remove vscode settings
* Additional formatting cleanup of config.h files
Diffstat (limited to 'users/drashna/config.h')
| -rw-r--r-- | users/drashna/config.h | 72 |
1 files changed, 34 insertions, 38 deletions
diff --git a/users/drashna/config.h b/users/drashna/config.h index 1680eb4cb..a6d8e7526 100644 --- a/users/drashna/config.h +++ b/users/drashna/config.h | |||
| @@ -2,50 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | #ifdef AUDIO_ENABLE | 4 | #ifdef AUDIO_ENABLE |
| 5 | #define AUDIO_CLICKY | 5 | # define AUDIO_CLICKY |
| 6 | #define STARTUP_SONG SONG(RICK_ROLL) | 6 | # define STARTUP_SONG SONG(RICK_ROLL) |
| 7 | #define GOODBYE_SONG SONG(SONIC_RING) | 7 | # define GOODBYE_SONG SONG(SONIC_RING) |
| 8 | #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \ | 8 | # define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \ |
| 9 | SONG(COLEMAK_SOUND), \ | 9 | SONG(COLEMAK_SOUND), \ |
| 10 | SONG(DVORAK_SOUND), \ | 10 | SONG(DVORAK_SOUND), \ |
| 11 | SONG(OVERWATCH_THEME) \ | 11 | SONG(OVERWATCH_THEME) \ |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | #define AUDIO_CLICKY_FREQ_RANDOMNESS 1.5f | 14 | # define AUDIO_CLICKY_FREQ_RANDOMNESS 1.5f |
| 15 | // #ifdef RGBLIGHT_ENABLE | 15 | |
| 16 | // #define NO_MUSIC_MODE | 16 | # define UNICODE_SONG_OSX SONG(RICK_ROLL) |
| 17 | // #endif //RGBLIGHT_ENABLE/ | 17 | # define UNICODE_SONG_LNX SONG(RICK_ROLL) |
| 18 | // #ifndef __arm__ | 18 | # define UNICODE_SONG_WIN SONG(RICK_ROLL) |
| 19 | // #undef NOTE_REST | 19 | # define UNICODE_SONG_BSD SONG(RICK_ROLL) |
| 20 | // #define NOTE_REST 1.00f | 20 | # define UNICODE_SONG_WINC SONG(RICK_ROLL) |
| 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 | 21 | ||
| 29 | #endif // !AUDIO_ENABLE | 22 | #endif // !AUDIO_ENABLE |
| 30 | 23 | ||
| 31 | #ifdef RGBLIGHT_ENABLE | 24 | #ifdef RGBLIGHT_ENABLE |
| 32 | #define RGBLIGHT_SLEEP | 25 | # define RGBLIGHT_SLEEP |
| 33 | #undef RGBLIGHT_ANIMATIONS | 26 | # undef RGBLIGHT_ANIMATIONS |
| 34 | #define RGBLIGHT_EFFECT_BREATHING | 27 | # define RGBLIGHT_EFFECT_BREATHING |
| 35 | #define RGBLIGHT_EFFECT_SNAKE | 28 | # define RGBLIGHT_EFFECT_SNAKE |
| 36 | #define RGBLIGHT_EFFECT_KNIGHT | 29 | # define RGBLIGHT_EFFECT_KNIGHT |
| 37 | #endif // RGBLIGHT_ENABLE | 30 | #endif // RGBLIGHT_ENABLE |
| 38 | 31 | ||
| 39 | #ifndef ONESHOT_TAP_TOGGLE | 32 | #ifndef ONESHOT_TAP_TOGGLE |
| 40 | #define ONESHOT_TAP_TOGGLE 2 | 33 | # define ONESHOT_TAP_TOGGLE 2 |
| 41 | #endif // !ONESHOT_TAP_TOGGLE | 34 | #endif // !ONESHOT_TAP_TOGGLE |
| 42 | 35 | ||
| 43 | #ifndef ONESHOT_TIMEOUT | 36 | #ifndef ONESHOT_TIMEOUT |
| 44 | #define ONESHOT_TIMEOUT 3000 | 37 | # define ONESHOT_TIMEOUT 3000 |
| 45 | #endif// !ONESHOT_TIMEOUT | 38 | #endif// !ONESHOT_TIMEOUT |
| 46 | 39 | ||
| 47 | #ifndef QMK_KEYS_PER_SCAN | 40 | #ifndef QMK_KEYS_PER_SCAN |
| 48 | #define QMK_KEYS_PER_SCAN 4 | 41 | # define QMK_KEYS_PER_SCAN 4 |
| 49 | #endif // !QMK_KEYS_PER_SCAN | 42 | #endif // !QMK_KEYS_PER_SCAN |
| 50 | 43 | ||
| 51 | 44 | ||
| @@ -62,24 +55,27 @@ | |||
| 62 | #define FORCE_NKRO | 55 | #define FORCE_NKRO |
| 63 | 56 | ||
| 64 | #ifndef TAPPING_TOGGLE | 57 | #ifndef TAPPING_TOGGLE |
| 65 | #define TAPPING_TOGGLE 1 | 58 | # define TAPPING_TOGGLE 1 |
| 66 | #endif | 59 | #endif |
| 67 | 60 | ||
| 68 | #ifdef TAPPING_TERM | 61 | #ifdef TAPPING_TERM |
| 69 | #undef TAPPING_TERM | 62 | # undef TAPPING_TERM |
| 70 | #endif // TAPPING_TERM | 63 | #endif // TAPPING_TERM |
| 71 | #if defined(KEYBOARD_ergodox_ez) | 64 | #if defined(KEYBOARD_ergodox_ez) |
| 72 | #define TAPPING_TERM 185 | 65 | # define TAPPING_TERM 185 |
| 73 | #elif defined(KEYBOARD_crkbd) | 66 | #elif defined(KEYBOARD_crkbd) |
| 74 | #define TAPPING_TERM 200 | 67 | # define TAPPING_TERM 200 |
| 75 | #else | 68 | #else |
| 76 | #define TAPPING_TERM 175 | 69 | # define TAPPING_TERM 175 |
| 77 | #endif | 70 | #endif |
| 78 | 71 | ||
| 79 | 72 | ||
| 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 TAP_CODE_DELAY 5 | 73 | #define TAP_CODE_DELAY 5 |
| 74 | |||
| 75 | /* Disable unused and unneeded features to reduce on firmware size */ | ||
| 76 | #ifdef LOCKING_SUPPORT_ENABLE | ||
| 77 | # undef LOCKING_SUPPORT_ENABLE | ||
| 78 | #endif | ||
| 79 | #ifdef LOCKING_RESYNC_ENABLE | ||
| 80 | # undef LOCKING_RESYNC_ENABLE | ||
| 81 | #endif | ||
