Fixed plank keymaps so that they will compile for planck light
This commit is contained in:
		
							parent
							
								
									2dacf25f28
								
							
						
					
					
						commit
						4464d90f4d
					
				
					 10 changed files with 90 additions and 29 deletions
				
			
		| 
						 | 
				
			
			@ -123,22 +123,30 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
 | 
			
		|||
  switch(id) {
 | 
			
		||||
    case MACRO_BREATH_TOGGLE:
 | 
			
		||||
      if (record->event.pressed) {
 | 
			
		||||
        breathing_toggle();
 | 
			
		||||
        #ifdef BACKLIGHT_BREATHING
 | 
			
		||||
          breathing_toggle();
 | 
			
		||||
        #endif
 | 
			
		||||
      }
 | 
			
		||||
      break;
 | 
			
		||||
    case MACRO_BREATH_SPEED_INC:
 | 
			
		||||
      if (record->event.pressed) {
 | 
			
		||||
        breathing_period_inc();
 | 
			
		||||
        #ifdef BACKLIGHT_BREATHING
 | 
			
		||||
          breathing_period_inc();
 | 
			
		||||
        #endif
 | 
			
		||||
      }
 | 
			
		||||
      break;
 | 
			
		||||
    case MACRO_BREATH_SPEED_DEC:
 | 
			
		||||
      if (record->event.pressed) {
 | 
			
		||||
        breathing_period_dec();
 | 
			
		||||
        #ifdef BACKLIGHT_BREATHING
 | 
			
		||||
          breathing_period_dec();
 | 
			
		||||
        #endif
 | 
			
		||||
      }
 | 
			
		||||
      break;
 | 
			
		||||
    case MACRO_BREATH_DEFAULT:
 | 
			
		||||
      if (record->event.pressed) {
 | 
			
		||||
        breathing_period_default();
 | 
			
		||||
        #ifdef BACKLIGHT_BREATHING
 | 
			
		||||
          breathing_period_default();
 | 
			
		||||
        #endif
 | 
			
		||||
      }
 | 
			
		||||
      break;
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue