[Keymap] Xulkal keymap tweeks (#5746)
* Minor keymap tweeks and more oled data * Update keymap.c
This commit is contained in:
		
							parent
							
								
									8725197ad6
								
							
						
					
					
						commit
						e95283b545
					
				
					 3 changed files with 41 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -11,3 +11,17 @@
 | 
			
		|||
#define RSPC_KEYS KC_RSFT, KC_TRNS, KC_RBRC
 | 
			
		||||
#define LCPO_KEYS KC_LCTL, KC_TRNS, KC_MINS
 | 
			
		||||
#define RCPO_KEYS KC_RCTL, KC_TRNS, KC_EQL
 | 
			
		||||
 | 
			
		||||
// No need for the single versions when multi performance isn't a problem =D
 | 
			
		||||
#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
 | 
			
		||||
#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
 | 
			
		||||
#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
 | 
			
		||||
#define DISABLE_RGB_MATRIX_SPLASH
 | 
			
		||||
#define DISABLE_RGB_MATRIX_SOLID_SPLASH
 | 
			
		||||
 | 
			
		||||
// Don't like or feel to identical to other effects
 | 
			
		||||
#define DISABLE_RGB_MATRIX_RAINBOW_BEACON
 | 
			
		||||
#define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
 | 
			
		||||
#define DISABLE_RGB_MATRIX_DIGITAL_RAIN
 | 
			
		||||
#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
 | 
			
		||||
#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,6 +11,10 @@ qk_tap_dance_action_t tap_dance_actions[] = {
 | 
			
		|||
};
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(RGB_MATRIX_ENABLE)
 | 
			
		||||
extern void eeconfig_update_rgb_matrix_default(void);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
  switch (keycode) {
 | 
			
		||||
    case QWERTY:
 | 
			
		||||
| 
						 | 
				
			
			@ -56,12 +60,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
      return false;
 | 
			
		||||
      break;
 | 
			
		||||
    case RGBRST:
 | 
			
		||||
      #ifdef RGBLIGHT_ENABLE
 | 
			
		||||
#if defined(RGBLIGHT_ENABLE)
 | 
			
		||||
        if (record->event.pressed) {
 | 
			
		||||
          eeconfig_update_rgblight_default();
 | 
			
		||||
          rgblight_enable();
 | 
			
		||||
        }
 | 
			
		||||
      #endif
 | 
			
		||||
#elif defined(RGB_MATRIX_ENABLE)
 | 
			
		||||
        if (record->event.pressed) {
 | 
			
		||||
          eeconfig_update_rgb_matrix_default();
 | 
			
		||||
        }
 | 
			
		||||
#endif
 | 
			
		||||
      return false;
 | 
			
		||||
      break;
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue