You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.1 KiB

Update to drashna userspace and keymaps (#3172) * Use string with delay * Add skipped region to ergodox * Add send string config * Use default_layer_state instead of function * Fully generalize keyboards * old iris cleanup * Fix Drashna keymap compile issues By checking to see if secret.c exists before actually trying to add it * Remove unnecessary references * Add 4x12 ortho board * Update userspace readme for secrets * Make RGB more modular * Fix iris keymap, since we don't need the lower left (Function keys) * Fix includes * Add Blanks * Fix Ergodox lower layer * Add suspend commands * Add Maltron Layout * Add additional layouts * Finish adding gamepad to Iris * Tweaks to iris gamepag layer * make gaming layers more friendly * minor gaming layer tweak * Add Carplax * Add modded key timer function * Cleanup and macro documentation * Add QMK DFU info * Add 'old' keymap for 12 LED spare * Update Pro Micro documentation * Disable twinkling so it fits in firmware space * Switch to QMK DFU bootloader, since it's better anyhow * Write default layer state colors to EEPROM Since we are writing to EEPROM anyways, and this way, it sticks on reboot * Fix QMK DFU bootloader options * More updates for QMK DFU support * Use matrix scanning hack for startup_user until #3113 gets merged * Fix indicator light consistency issue * Add/readd ifdefs to indicators * Add/readd alt indicator * Remove RGB Twinkling from Viterbi macro pad * Fix default layer color detection * Fix rebase and detection issues * Cleanup code so it will compile if RGBLIGHT is disabled * Revert vsode settings * Use Pragma Once instead of boilerplate code
6 years ago
[Keymap] Update to Drashna Keymaps (#5594) * Start to standardize macro timer * Update Fractal layout Specifically, limit the RGB Lighting, since it's too many for the power, and only have the KITT annimation on the front * Update Iris keymap to use I2C for transport * Remove TAP_CODE_DELAY from keyboard in favor of global setting * Remove Woodpad Since it\'s no longer in my possession * Only enable LTO on AVR boards * Run matrix_scans while doing startup light * Run matrix_scan to get split keyboard code synced properly * Fix rgb mode * Remove custom debouncing settings * Make RGB Light Startup Animation optional * Fix opt def * Remove extra tap code delay value * Fix references to keebio boards * Add support for LP Iris keyboard * Add backlight code * Make startup animation optional * Update gitlab ci script * Remove port declaration * Revert avrgcc changes to gitlab ci file * Don't re-set mods * Remove MACRO_TIMER define * Add custom name for crkbd * Add name for Prime M pad * Add names for ortho 4x12 boards * Add some additional handling for rgb init * Change thumb clusters on ergodox * Switch Orthodox to I2C * Fix Space in ergodox keymap * Use OSL for ergodox layout * Ugh, can't find a good layout * Fix typo * Fix up animation startup * Cries in AVR * Fix makefiles for ergodox ez boards * Add support for "secret songs" in my userspace * Reset debounce to 5ms for Ergodox EZ * Fix gitlab CI yaml file * More crying in AVR * Cannot use rgb light and rgb matrix at the same time due to the WS2812 rgb matrix PR until the "Coexistance" PR is merged * Update ODox for split common and i2c * Add split config * Impement Split code * Add support for xscorpion OLED code * Add OLED display config * Fix OLED screen font * Get OLED set up in vertical mode * Remove old OLED code * add per key support for crkbd * Fix split changes * RGB Tweeaks * More OLED tweaks * Fix rotation stuff * Fix more OLED stuff * Remove custom Debounce from Ergodox layout since it's no longer needed
5 years ago
  1. #pragma once
  2. #ifdef AUDIO_ENABLE
  3. #define AUDIO_CLICKY
  4. #define STARTUP_SONG SONG(RICK_ROLL)
  5. #define GOODBYE_SONG SONG(SONIC_RING)
  6. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  7. SONG(COLEMAK_SOUND), \
  8. SONG(DVORAK_SOUND), \
  9. SONG(OVERWATCH_THEME) \
  10. }
  11. #define AUDIO_CLICKY_FREQ_RANDOMNESS 1.5f
  12. // #ifdef RGBLIGHT_ENABLE
  13. // #define NO_MUSIC_MODE
  14. // #endif //RGBLIGHT_ENABLE/
  15. // #ifndef __arm__
  16. // #undef NOTE_REST
  17. // #define NOTE_REST 1.00f
  18. // #endif // !__arm__
  19. #define UNICODE_SONG_OSX SONG(RICK_ROLL)
  20. #define UNICODE_SONG_LNX SONG(RICK_ROLL)
  21. #define UNICODE_SONG_WIN SONG(RICK_ROLL)
  22. #define UNICODE_SONG_BSD SONG(RICK_ROLL)
  23. #define UNICODE_SONG_WINC SONG(RICK_ROLL)
  24. #endif // !AUDIO_ENABLE
  25. #ifdef RGBLIGHT_ENABLE
  26. #define RGBLIGHT_SLEEP
  27. #undef RGBLIGHT_ANIMATIONS
  28. #define RGBLIGHT_EFFECT_BREATHING
  29. #define RGBLIGHT_EFFECT_SNAKE
  30. #define RGBLIGHT_EFFECT_KNIGHT
  31. #endif // RGBLIGHT_ENABLE
  32. #ifndef ONESHOT_TAP_TOGGLE
  33. #define ONESHOT_TAP_TOGGLE 2
  34. #endif // !ONESHOT_TAP_TOGGLE
  35. #ifndef ONESHOT_TIMEOUT
  36. #define ONESHOT_TIMEOUT 3000
  37. #endif// !ONESHOT_TIMEOUT
  38. #ifndef QMK_KEYS_PER_SCAN
  39. #define QMK_KEYS_PER_SCAN 4
  40. #endif // !QMK_KEYS_PER_SCAN
  41. // this makes it possible to do rolling combos (zx) with keys that
  42. // convert to other keys on hold (z becomes ctrl when you hold it,
  43. // and when this option isn't enabled, z rapidly followed by x
  44. // actually sends Ctrl-x. That's bad.)
  45. #define IGNORE_MOD_TAP_INTERRUPT
  46. #undef PERMISSIVE_HOLD
  47. //#define TAPPING_FORCE_HOLD
  48. //#define RETRO_TAPPING
  49. #define FORCE_NKRO
  50. #ifndef TAPPING_TOGGLE
  51. #define TAPPING_TOGGLE 1
  52. #endif
  53. #ifdef TAPPING_TERM
  54. #undef TAPPING_TERM
  55. #endif // TAPPING_TERM
  56. #if defined(KEYBOARD_ergodox_ez)
  57. #define TAPPING_TERM 185
  58. #elif defined(KEYBOARD_crkbd)
  59. #define TAPPING_TERM 200
  60. #else
  61. #define TAPPING_TERM 175
  62. #endif
  63. // Disable action_get_macro and fn_actions, since we don't use these
  64. // and it saves on space in the firmware.
  65. #define NO_ACTION_MACRO
  66. #define NO_ACTION_FUNCTION
  67. #define TAP_CODE_DELAY 5