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
				
			
		| 
						 | 
				
			
			@ -27,7 +27,10 @@
 | 
			
		|||
#include "../../config.h"
 | 
			
		||||
 | 
			
		||||
#define LEADER_TIMEOUT 300
 | 
			
		||||
 | 
			
		||||
#ifndef LIGHT_CONFIG_H
 | 
			
		||||
#define BACKLIGHT_BREATHING
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* cbbrowne user configuration */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -219,7 +219,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
 | 
			
		|||
    if (record->event.pressed)
 | 
			
		||||
      {
 | 
			
		||||
	layer_on(_RAISE);
 | 
			
		||||
#ifdef BACKLIGHT_ENABLE
 | 
			
		||||
#ifdef BACKLIGHT_BREATHING
 | 
			
		||||
	breathing_period_set(2);
 | 
			
		||||
	breathing_pulse();
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			@ -235,7 +235,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
 | 
			
		|||
    if (record->event.pressed)
 | 
			
		||||
      {
 | 
			
		||||
	layer_on(_LOWER);
 | 
			
		||||
#ifdef BACKLIGHT_ENABLE
 | 
			
		||||
#ifdef BACKLIGHT_BREATHING
 | 
			
		||||
	breathing_period_set(2);
 | 
			
		||||
	breathing_pulse();
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue