[Keymap] stanrc85 Keymap/userspace updates (#11349)
* keymap updates * adding fanfare back
This commit is contained in:
		
							parent
							
								
									4c48518a4e
								
							
						
					
					
						commit
						4ae5c3a905
					
				
					 3 changed files with 13 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@ ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2)
 | 
			
		|||
endif
 | 
			
		||||
ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone)
 | 
			
		||||
  SRC += indicator_layers_sneakbox.c
 | 
			
		||||
  #SRC += startup_fanfare.c
 | 
			
		||||
  SRC += startup_fanfare.c
 | 
			
		||||
  OPT_DEFS += -DHAS_INDICATORS
 | 
			
		||||
  OPT_DEFS += -DHAS_ROTARY
 | 
			
		||||
  VIA_ENABLE = yes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,24 +16,24 @@ void matrix_scan_user(void) {
 | 
			
		|||
            counter++;
 | 
			
		||||
            if (counter == 1) {
 | 
			
		||||
                top = 1;
 | 
			
		||||
                writePin(INDICATOR_PIN_0, !top);
 | 
			
		||||
                wait_ms(200);
 | 
			
		||||
                writePin(INDICATOR_PIN_0, top);
 | 
			
		||||
                wait_ms(300);
 | 
			
		||||
                top = 0;
 | 
			
		||||
                writePin(INDICATOR_PIN_0, !top);
 | 
			
		||||
                writePin(INDICATOR_PIN_0, top);
 | 
			
		||||
            }
 | 
			
		||||
            if (counter == 2) {
 | 
			
		||||
                middle = 1;
 | 
			
		||||
                writePin(INDICATOR_PIN_1, !middle);
 | 
			
		||||
                wait_ms(200);
 | 
			
		||||
                writePin(INDICATOR_PIN_1, middle);
 | 
			
		||||
                wait_ms(300);
 | 
			
		||||
                middle = 0;
 | 
			
		||||
                writePin(INDICATOR_PIN_1, !middle);
 | 
			
		||||
                writePin(INDICATOR_PIN_1, middle);
 | 
			
		||||
            }
 | 
			
		||||
            if (counter == 3) {
 | 
			
		||||
                bottom = 1;
 | 
			
		||||
                writePin(INDICATOR_PIN_2, !bottom);
 | 
			
		||||
                wait_ms(200);
 | 
			
		||||
                writePin(INDICATOR_PIN_2, bottom);
 | 
			
		||||
                wait_ms(300);
 | 
			
		||||
                bottom = 0;
 | 
			
		||||
                writePin(INDICATOR_PIN_2, !bottom);
 | 
			
		||||
                writePin(INDICATOR_PIN_2, bottom);
 | 
			
		||||
            }
 | 
			
		||||
            if (counter == 4) {
 | 
			
		||||
                is_enabled = is_rgblight_startup = false;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue