[Keymap] Drashna keymap updates for 0.18.0 (#18184)
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
		
							parent
							
								
									d4a6ee1cad
								
							
						
					
					
						commit
						fa08cb2478
					
				
					 32 changed files with 720 additions and 301 deletions
				
			
		| 
						 | 
				
			
			@ -19,20 +19,23 @@
 | 
			
		|||
 | 
			
		||||
// safe range starts at `PLOOPY_SAFE_RANGE` instead.
 | 
			
		||||
 | 
			
		||||
// clang-format off
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
    [0] = LAYOUT(/* Base */
 | 
			
		||||
    [0] = LAYOUT(
 | 
			
		||||
                 C(KC_C), KC_BTN1, KC_BTN3, KC_BTN2, MO(1), KC_BTN4, KC_BTN5, DPI_CONFIG),
 | 
			
		||||
    [1] = LAYOUT(/* Base */
 | 
			
		||||
    [1] = LAYOUT(
 | 
			
		||||
                 RGB_HUI, RGB_MOD, RGB_TOG, RGB_RMOD, MO(1), KC_VOLU, KC_VOLD, QK_BOOT)
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
// clang-format on
 | 
			
		||||
 | 
			
		||||
#ifdef RGBLIGHT_ENABLE
 | 
			
		||||
void eeconkfig_init_user(void) {
 | 
			
		||||
    rgblight_enable();
 | 
			
		||||
#ifdef RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
    rgblight_mode(RGBLIGHT_MODE_TWINKLE+5);
 | 
			
		||||
#else
 | 
			
		||||
    rgblight_mode(RGBLIGHT_MODE_BREATHING+5);
 | 
			
		||||
#endif
 | 
			
		||||
#    ifdef RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
    rgblight_mode(RGBLIGHT_MODE_TWINKLE + 5);
 | 
			
		||||
#    else
 | 
			
		||||
    rgblight_mode(RGBLIGHT_MODE_BREATHING + 5);
 | 
			
		||||
#    endif
 | 
			
		||||
    rgblight_sethsv(HSV_MAGENTA);
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,6 @@
 | 
			
		|||
USER_NAME := not_drashna
 | 
			
		||||
BOOTLOADER = qmk-hid
 | 
			
		||||
 | 
			
		||||
RGBLIGHT_ENABLE = yes
 | 
			
		||||
CONSOLE_ENABLE  = no
 | 
			
		||||
LTO_ENABLE = yes
 | 
			
		||||
LTO_ENABLE      = yes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue