 e88f80a891
			
		
	
	
		e88f80a891
		
			
		
	
	
	
	
		
			
			* Add a quefrency keymap * New Alt-ernate layouts * Enable Per Key Tapping Term to preserve sanity * Use underglow and mod lights for status on Corne * Update the drashna_ms keymap for quefrency * Disable Audio since there isn't enough space * Update KC_MAKE to ues :flash target * Cleanup ergodox layout * Enable i2c support for Iris * Add keymap support for CG_SWAP * Enable RGB Matrix Shutdown mode * enable heatmap * Update gitlab CI to install python3 * Remove game macros These are no longer needed, and haven't been used in ages * Cleanup planck layout * Add RGB Matrix fun and RGB cleanup * Add keycode and config for RGB Matrix idle animations * Clean up rgb idle animation code * Add rgb idle keycode to keymaps * Fix issues with rgb matrix idle animation * Fix some handling for idle animation * Reduce idle animation timeout to 15s to be more reasonable * fix up rgb stuff * Fix isses with rgb functions not being called for matrix * Use custom EEPROM Magic Number so testing is easier * Extend Default Layer macro to support a lot more layers * Fix bjohnson macropad * Adjust KC_MAKE to process mods for more consistent behavior * Fix up rgb stuff on corne * Corne OLED Overhaul * Fixes a number of issues with weirdness. * Fixes issues with keylogger (should be more reliable now) * Modulaize the OLED render sections * Rewrite layer display code * Update URL for Font Editor Due to odd issues, I ended up rewriting from scratch. And using PROGMEM versions, since I think I was getting memory overflows. * Update polling rate on all keebs * Fix planck ez layout config * Remove macros from Viterbi
		
			
				
	
	
		
			90 lines
		
	
	
	
		
			2.6 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
	
		
			2.6 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| #include "drashna.h"
 | |
| 
 | |
| #if defined(KEYMAP_SAFE_RANGE)
 | |
| #    define PLACEHOLDER_SAFE_RANGE KEYMAP_SAFE_RANGE
 | |
| #else
 | |
| #    define PLACEHOLDER_SAFE_RANGE SAFE_RANGE
 | |
| #endif
 | |
| 
 | |
| enum userspace_custom_keycodes {
 | |
|     VRSN = PLACEHOLDER_SAFE_RANGE,  // Prints QMK Firmware and board info
 | |
|     KC_QWERTY,                      // Sets default layer to QWERTY
 | |
|     KC_COLEMAK,                     // Sets default layer to COLEMAK
 | |
|     KC_DVORAK,                      // Sets default layer to DVORAK
 | |
|     KC_WORKMAN,                     // Sets default layer to WORKMAN
 | |
|     KC_DIABLO_CLEAR,                // Clears all Diablo Timers
 | |
|     KC_MAKE,        // Run keyboard's customized make command
 | |
|     KC_RGB_T,       // Toggles RGB Layer Indication mode
 | |
|     RGB_IDL,        // RGB Idling animations
 | |
|     KC_SECRET_1,    // test1
 | |
|     KC_SECRET_2,    // test2
 | |
|     KC_SECRET_3,    // test3
 | |
|     KC_SECRET_4,    // test4
 | |
|     KC_SECRET_5,    // test5
 | |
|     KC_CCCV,        // Hold to copy, tap to paste
 | |
|     KC_NUKE,        // NUCLEAR LAUNCH DETECTED!!!
 | |
|     UC_FLIP,        // (ಠ痊ಠ)┻━┻
 | |
|     UC_TABL,        // ┬─┬ノ( º _ ºノ)
 | |
|     UC_SHRG,        // ¯\_(ツ)_/¯
 | |
|     UC_DISA,        // ಠ_ಠ
 | |
|     NEW_SAFE_RANGE  // use "NEWPLACEHOLDER for keymap specific codes
 | |
| };
 | |
| 
 | |
| bool process_record_secrets(uint16_t keycode, keyrecord_t *record);
 | |
| bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
 | |
| 
 | |
| #define LOWER MO(_LOWER)
 | |
| #define RAISE MO(_RAISE)
 | |
| #define ADJUST MO(_ADJUST)
 | |
| #define TG_MODS TG(_MODS)
 | |
| #define TG_GAME TG(_GAMEPAD)
 | |
| #define OS_LWR OSL(_LOWER)
 | |
| #define OS_RSE OSL(_RAISE)
 | |
| 
 | |
| #define KC_SEC1 KC_SECRET_1
 | |
| #define KC_SEC2 KC_SECRET_2
 | |
| #define KC_SEC3 KC_SECRET_3
 | |
| #define KC_SEC4 KC_SECRET_4
 | |
| #define KC_SEC5 KC_SECRET_5
 | |
| 
 | |
| #define QWERTY KC_QWERTY
 | |
| #define DVORAK KC_DVORAK
 | |
| #define COLEMAK KC_COLEMAK
 | |
| #define WORKMAN KC_WORKMAN
 | |
| 
 | |
| #define KC_RESET RESET
 | |
| #define KC_RST KC_RESET
 | |
| 
 | |
| #ifdef SWAP_HANDS_ENABLE
 | |
| #    define KC_C1R3 SH_TT
 | |
| #else  // SWAP_HANDS_ENABLE
 | |
| #    define KC_C1R3 KC_BSPC
 | |
| #endif  // SWAP_HANDS_ENABLE
 | |
| 
 | |
| #define BK_LWER LT(_LOWER, KC_BSPC)
 | |
| #define SP_LWER LT(_LOWER, KC_SPC)
 | |
| #define DL_RAIS LT(_RAISE, KC_DEL)
 | |
| #define ET_RAIS LT(_RAISE, KC_ENTER)
 | |
| 
 | |
| /* OSM keycodes, to keep things clean and easy to change */
 | |
| #define KC_MLSF OSM(MOD_LSFT)
 | |
| #define KC_MRSF OSM(MOD_RSFT)
 | |
| 
 | |
| #define OS_LGUI OSM(MOD_LGUI)
 | |
| #define OS_RGUI OSM(MOD_RGUI)
 | |
| #define OS_LSFT OSM(MOD_LSFT)
 | |
| #define OS_RSFT OSM(MOD_RSFT)
 | |
| #define OS_LCTL OSM(MOD_LCTL)
 | |
| #define OS_RCTL OSM(MOD_RCTL)
 | |
| #define OS_LALT OSM(MOD_LALT)
 | |
| #define OS_RALT OSM(MOD_RALT)
 | |
| #define OS_MEH  OSM(MOD_MEH)
 | |
| #define OS_HYPR OSM(MOD_HYPR)
 | |
| 
 | |
| #define ALT_APP ALT_T(KC_APP)
 | |
| 
 | |
| #define MG_NKRO MAGIC_TOGGLE_NKRO
 | |
| 
 | |
| #define UC_IRNY UC(0x2E2E)
 | |
| #define UC_CLUE UC(0x203D)
 |