[Keymap] Revamp spidey3 userspace and keymaps (#11768)
* Don't block keys during startup animation * More refinements related to startup and debug state * restore key logging * some cleanup on scan rate reporting * trim some fat * better lighting to indicate jumped to bootloader * use eeprom for state restoration * a little reorganization * report version immediately when turn on debug * hold-to-adjust for hue, sat, val * cformat * reorg rules.mk settings, fix compile with CONSOLE_ENABLE=no * simplify spidey3 userspace * NULL in layer list caused buggy behavior * more bugfix * update numpad layout to match matt30 MT3 /dev/tty keycaps * swap emdash and endash * map shift+backspace to delete * removing NO_ACTION_ONSHOT makes the firmware SMALLER ?! * cformat * improve spi_glow * disable shift-backspace = delete by default
This commit is contained in:
		
							parent
							
								
									f5a38b95c1
								
							
						
					
					
						commit
						07a1574732
					
				
					 10 changed files with 421 additions and 193 deletions
				
			
		| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
 | 
			
		||||
enum userspace_layers {
 | 
			
		||||
    _BASE = 0,
 | 
			
		||||
    _OSX,
 | 
			
		||||
    _NUMPAD,
 | 
			
		||||
    _FN,
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -31,6 +30,7 @@ enum custom_keycodes {
 | 
			
		|||
    SPI_PARENS,
 | 
			
		||||
    SPI_FRAKTR,
 | 
			
		||||
    SPI_GFLOCK,
 | 
			
		||||
    SPI_KP_00,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#ifdef RGBLIGHT_ENABLE
 | 
			
		||||
| 
						 | 
				
			
			@ -45,12 +45,14 @@ typedef enum layer_ack {
 | 
			
		|||
    ACK_NO = 0,
 | 
			
		||||
    ACK_YES,
 | 
			
		||||
    ACK_MEH,
 | 
			
		||||
    ACK_HUH,
 | 
			
		||||
} layer_ack_t;
 | 
			
		||||
 | 
			
		||||
#    define RGB_LAYER_ACK_DURATION 500
 | 
			
		||||
 | 
			
		||||
void          eeconfig_init_user_rgb(void);
 | 
			
		||||
void          matrix_init_user_rgb(void);
 | 
			
		||||
void          matrix_scan_user_rgb(void);
 | 
			
		||||
void          keyboard_post_init_user_rgb(void);
 | 
			
		||||
bool          process_record_user_rgb(uint16_t keycode, keyrecord_t *record);
 | 
			
		||||
void          post_process_record_user_rgb(uint16_t keycode, keyrecord_t *record);
 | 
			
		||||
| 
						 | 
				
			
			@ -60,6 +62,7 @@ bool          led_update_user_rgb(led_t led_state);
 | 
			
		|||
void          rgb_layer_ack(layer_ack_t n);
 | 
			
		||||
void          rgb_layer_ack_yn(bool yn);
 | 
			
		||||
void          clear_rgb_layers(void);
 | 
			
		||||
void          shutdown_user_rgb(void);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef UNICODEMAP_ENABLE
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue