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.

105 lines
3.2 KiB

[Keymap] Drashna's Feature madness (#6128) * Fix my Tap Dance issues after I broke them * Cleanup and organization of userspace documentation As well as some additional cleanup of functions due to review of documentation. * Enable Tapdance on Glow and remove more animations * Revert to Eager PR debouncing * Add better check for startup animation * Move where RGB Matrix defines are listed * Limit RGB Matrix max val * Update keyboard for Iris Rev 3 conflicts * Enable encoder support on planck ez * Remove is_master check from corne\'s OLED code * Overhaul OLED screens for my Corne * One last removal * Show RGB valu On both sides * Updates for OLED display info * Fix compile issues for rgb config * Disabled Space Cadet for all drashna keymaps * Fix OLED Screen configs * Minor OLED Tweaks * Revert some Iris changes * Fix song include * Handle MAKE macro for the Corne boards better * Add super hacky-hack for eeconfig initialization * Add audio support for Fractal since Elite Cs support it * Add defines for keycode steps * Add White layout * Update Corne RGB info * Add fun effects to layer indication for RGB Matrix enabled boards * Use proper define for product name detection * Update formatting * Use custom timeout mechanism for OLED timeout * Fix up OLED screen HSV code for new HSV structure * Better handle turning off RGB Matrix when sleeping * Disable MultiSplash Animation * Change Iris back to using serial * Why was RGB disabled?!?!?! * Limit val in rgb_matrix_layer_helper function * Remove EECONFIG setting for RGB matrix
4 years ago
[Keymap] Drashna's Feature madness (#6128) * Fix my Tap Dance issues after I broke them * Cleanup and organization of userspace documentation As well as some additional cleanup of functions due to review of documentation. * Enable Tapdance on Glow and remove more animations * Revert to Eager PR debouncing * Add better check for startup animation * Move where RGB Matrix defines are listed * Limit RGB Matrix max val * Update keyboard for Iris Rev 3 conflicts * Enable encoder support on planck ez * Remove is_master check from corne\'s OLED code * Overhaul OLED screens for my Corne * One last removal * Show RGB valu On both sides * Updates for OLED display info * Fix compile issues for rgb config * Disabled Space Cadet for all drashna keymaps * Fix OLED Screen configs * Minor OLED Tweaks * Revert some Iris changes * Fix song include * Handle MAKE macro for the Corne boards better * Add super hacky-hack for eeconfig initialization * Add audio support for Fractal since Elite Cs support it * Add defines for keycode steps * Add White layout * Update Corne RGB info * Add fun effects to layer indication for RGB Matrix enabled boards * Use proper define for product name detection * Update formatting * Use custom timeout mechanism for OLED timeout * Fix up OLED screen HSV code for new HSV structure * Better handle turning off RGB Matrix when sleeping * Disable MultiSplash Animation * Change Iris back to using serial * Why was RGB disabled?!?!?! * Limit val in rgb_matrix_layer_helper function * Remove EECONFIG setting for RGB matrix
4 years ago
[Keymap] Drashna's Feature madness (#6128) * Fix my Tap Dance issues after I broke them * Cleanup and organization of userspace documentation As well as some additional cleanup of functions due to review of documentation. * Enable Tapdance on Glow and remove more animations * Revert to Eager PR debouncing * Add better check for startup animation * Move where RGB Matrix defines are listed * Limit RGB Matrix max val * Update keyboard for Iris Rev 3 conflicts * Enable encoder support on planck ez * Remove is_master check from corne\'s OLED code * Overhaul OLED screens for my Corne * One last removal * Show RGB valu On both sides * Updates for OLED display info * Fix compile issues for rgb config * Disabled Space Cadet for all drashna keymaps * Fix OLED Screen configs * Minor OLED Tweaks * Revert some Iris changes * Fix song include * Handle MAKE macro for the Corne boards better * Add super hacky-hack for eeconfig initialization * Add audio support for Fractal since Elite Cs support it * Add defines for keycode steps * Add White layout * Update Corne RGB info * Add fun effects to layer indication for RGB Matrix enabled boards * Use proper define for product name detection * Update formatting * Use custom timeout mechanism for OLED timeout * Fix up OLED screen HSV code for new HSV structure * Better handle turning off RGB Matrix when sleeping * Disable MultiSplash Animation * Change Iris back to using serial * Why was RGB disabled?!?!?! * Limit val in rgb_matrix_layer_helper function * Remove EECONFIG setting for RGB matrix
4 years ago
[Keymap] Drashna's Feature madness (#6128) * Fix my Tap Dance issues after I broke them * Cleanup and organization of userspace documentation As well as some additional cleanup of functions due to review of documentation. * Enable Tapdance on Glow and remove more animations * Revert to Eager PR debouncing * Add better check for startup animation * Move where RGB Matrix defines are listed * Limit RGB Matrix max val * Update keyboard for Iris Rev 3 conflicts * Enable encoder support on planck ez * Remove is_master check from corne\'s OLED code * Overhaul OLED screens for my Corne * One last removal * Show RGB valu On both sides * Updates for OLED display info * Fix compile issues for rgb config * Disabled Space Cadet for all drashna keymaps * Fix OLED Screen configs * Minor OLED Tweaks * Revert some Iris changes * Fix song include * Handle MAKE macro for the Corne boards better * Add super hacky-hack for eeconfig initialization * Add audio support for Fractal since Elite Cs support it * Add defines for keycode steps * Add White layout * Update Corne RGB info * Add fun effects to layer indication for RGB Matrix enabled boards * Use proper define for product name detection * Update formatting * Use custom timeout mechanism for OLED timeout * Fix up OLED screen HSV code for new HSV structure * Better handle turning off RGB Matrix when sleeping * Disable MultiSplash Animation * Change Iris back to using serial * Why was RGB disabled?!?!?! * Limit val in rgb_matrix_layer_helper function * Remove EECONFIG setting for RGB matrix
4 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
[Keymap] Drashna's Feature madness (#6128) * Fix my Tap Dance issues after I broke them * Cleanup and organization of userspace documentation As well as some additional cleanup of functions due to review of documentation. * Enable Tapdance on Glow and remove more animations * Revert to Eager PR debouncing * Add better check for startup animation * Move where RGB Matrix defines are listed * Limit RGB Matrix max val * Update keyboard for Iris Rev 3 conflicts * Enable encoder support on planck ez * Remove is_master check from corne\'s OLED code * Overhaul OLED screens for my Corne * One last removal * Show RGB valu On both sides * Updates for OLED display info * Fix compile issues for rgb config * Disabled Space Cadet for all drashna keymaps * Fix OLED Screen configs * Minor OLED Tweaks * Revert some Iris changes * Fix song include * Handle MAKE macro for the Corne boards better * Add super hacky-hack for eeconfig initialization * Add audio support for Fractal since Elite Cs support it * Add defines for keycode steps * Add White layout * Update Corne RGB info * Add fun effects to layer indication for RGB Matrix enabled boards * Use proper define for product name detection * Update formatting * Use custom timeout mechanism for OLED timeout * Fix up OLED screen HSV code for new HSV structure * Better handle turning off RGB Matrix when sleeping * Disable MultiSplash Animation * Change Iris back to using serial * Why was RGB disabled?!?!?! * Limit val in rgb_matrix_layer_helper function * Remove EECONFIG setting for RGB matrix
4 years ago
  1. #pragma once
  2. #include "drashna.h"
  3. #if defined(KEYMAP_SAFE_RANGE)
  4. # define PLACEHOLDER_SAFE_RANGE KEYMAP_SAFE_RANGE
  5. #else
  6. # define PLACEHOLDER_SAFE_RANGE SAFE_RANGE
  7. #endif
  8. enum userspace_custom_keycodes {
  9. VRSN = PLACEHOLDER_SAFE_RANGE, // Prints QMK Firmware and board info
  10. KC_QWERTY, // Sets default layer to QWERTY
  11. KC_COLEMAK, // Sets default layer to COLEMAK
  12. KC_DVORAK, // Sets default layer to DVORAK
  13. KC_WORKMAN, // Sets default layer to WORKMAN
  14. KC_NORMAN, // Sets default layer to NORMAN
  15. KC_MALTRON, // Sets default layer to MALTRON
  16. KC_EUCALYN, // Sets default layer to EUCALYN
  17. KC_CARPLAX, // Sets default layer to CARPLAX
  18. KC_DIABLO_CLEAR, // Clears all Diablo Timers
  19. KC_OVERWATCH, // Toggles game macro input mode (so in OW, it defaults to game chat)
  20. KC_SALT, // See drashna.c for details
  21. KC_MORESALT,
  22. KC_SALTHARD,
  23. KC_GOODGAME,
  24. KC_SYMM,
  25. KC_JUSTGAME,
  26. KC_GLHF,
  27. KC_TORB,
  28. KC_AIM,
  29. KC_C9,
  30. KC_GGEZ,
  31. KC_MAKE, // Run keyboard's customized make command
  32. KC_RGB_T, // Toggles RGB Layer Indication mode
  33. KC_SECRET_1, // test1
  34. KC_SECRET_2, // test2
  35. KC_SECRET_3, // test3
  36. KC_SECRET_4, // test4
  37. KC_SECRET_5, // test5
  38. KC_CCCV, // Hold to copy, tap to paste
  39. KC_NUKE, // NUCLEAR LAUNCH DETECTED!!!
  40. UC_FLIP, // (ಠ痊ಠ)┻━┻
  41. UC_TABL, // ┬─┬ノ( º _ ºノ)
  42. UC_SHRG, // ¯\_(ツ)_/¯
  43. UC_DISA, // ಠ_ಠ
  44. NEW_SAFE_RANGE // use "NEWPLACEHOLDER for keymap specific codes
  45. };
  46. bool process_record_secrets(uint16_t keycode, keyrecord_t *record);
  47. bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
  48. #define LOWER MO(_LOWER)
  49. #define RAISE MO(_RAISE)
  50. #define ADJUST MO(_ADJUST)
  51. #define TG_MODS TG(_MODS)
  52. #define TG_GAME TG(_GAMEPAD)
  53. #define OS_LWR OSL(_LOWER)
  54. #define OS_RSE OSL(_RAISE)
  55. #define KC_SEC1 KC_SECRET_1
  56. #define KC_SEC2 KC_SECRET_2
  57. #define KC_SEC3 KC_SECRET_3
  58. #define KC_SEC4 KC_SECRET_4
  59. #define KC_SEC5 KC_SECRET_5
  60. #define QWERTY KC_QWERTY
  61. #define DVORAK KC_DVORAK
  62. #define COLEMAK KC_COLEMAK
  63. #define WORKMAN KC_WORKMAN
  64. #define KC_RESET RESET
  65. #define KC_RST KC_RESET
  66. #ifdef SWAP_HANDS_ENABLE
  67. # define KC_C1R3 SH_TT
  68. #else // SWAP_HANDS_ENABLE
  69. # define KC_C1R3 KC_BSPC
  70. #endif // SWAP_HANDS_ENABLE
  71. #define BK_LWER LT(_LOWER, KC_BSPC)
  72. #define SP_LWER LT(_LOWER, KC_SPC)
  73. #define DL_RAIS LT(_RAISE, KC_DEL)
  74. #define ET_RAIS LT(_RAISE, KC_ENTER)
  75. /* OSM keycodes, to keep things clean and easy to change */
  76. #define KC_MLSF OSM(MOD_LSFT)
  77. #define KC_MRSF OSM(MOD_RSFT)
  78. #define OS_LGUI OSM(MOD_LGUI)
  79. #define OS_RGUI OSM(MOD_RGUI)
  80. #define OS_LSFT OSM(MOD_LSFT)
  81. #define OS_RSFT OSM(MOD_RSFT)
  82. #define OS_LCTL OSM(MOD_LCTL)
  83. #define OS_RCTL OSM(MOD_RCTL)
  84. #define OS_LALT OSM(MOD_LALT)
  85. #define OS_RALT OSM(MOD_RALT)
  86. #define OS_MEH OSM(MOD_MEH)
  87. #define OS_HYPR OSM(MOD_HYPR)
  88. #define ALT_APP ALT_T(KC_APP)
  89. #define MG_NKRO MAGIC_TOGGLE_NKRO
  90. #define UC_IRNY UC(0x2E2E)
  91. #define UC_CLUE UC(0x203D)