Separate RGBLight/RGB Matrix keycode handling (#23679)
* Separate RGBLight/RGB Matrix keycode handling * Remove `_DISABLE_KEYCODES` handling * Update RGB Matrix keycode docs * Update underglow keycodes for previously migrated boards * Update keycodes for boards with custom handling * Fix typos * Fix bad merge
This commit is contained in:
		
							parent
							
								
									5c97a78ce6
								
							
						
					
					
						commit
						6fa11bf219
					
				
					 267 changed files with 1228 additions and 2276 deletions
				
			
		| 
						 | 
				
			
			@ -306,11 +306,11 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
 | 
			
		|||
        POST_CONFIG_H += $(QUANTUM_DIR)/rgblight/rgblight_post_config.h
 | 
			
		||||
        OPT_DEFS += -DRGBLIGHT_ENABLE
 | 
			
		||||
        OPT_DEFS += -DRGBLIGHT_$(strip $(shell echo $(RGBLIGHT_DRIVER) | tr '[:lower:]' '[:upper:]'))
 | 
			
		||||
        SRC += $(QUANTUM_DIR)/process_keycode/process_underglow.c
 | 
			
		||||
        SRC += $(QUANTUM_DIR)/color.c
 | 
			
		||||
        SRC += $(QUANTUM_DIR)/rgblight/rgblight.c
 | 
			
		||||
        SRC += $(QUANTUM_DIR)/rgblight/rgblight_drivers.c
 | 
			
		||||
        CIE1931_CURVE := yes
 | 
			
		||||
        RGB_KEYCODES_ENABLE := yes
 | 
			
		||||
    endif
 | 
			
		||||
 | 
			
		||||
    ifeq ($(strip $(RGBLIGHT_DRIVER)), ws2812)
 | 
			
		||||
| 
						 | 
				
			
			@ -456,12 +456,12 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
 | 
			
		|||
    COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations
 | 
			
		||||
    COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations/runners
 | 
			
		||||
    POST_CONFIG_H += $(QUANTUM_DIR)/rgb_matrix/post_config.h
 | 
			
		||||
    SRC += $(QUANTUM_DIR)/process_keycode/process_rgb_matrix.c
 | 
			
		||||
    SRC += $(QUANTUM_DIR)/color.c
 | 
			
		||||
    SRC += $(QUANTUM_DIR)/rgb_matrix/rgb_matrix.c
 | 
			
		||||
    SRC += $(QUANTUM_DIR)/rgb_matrix/rgb_matrix_drivers.c
 | 
			
		||||
    LIB8TION_ENABLE := yes
 | 
			
		||||
    CIE1931_CURVE := yes
 | 
			
		||||
    RGB_KEYCODES_ENABLE := yes
 | 
			
		||||
 | 
			
		||||
    ifeq ($(strip $(RGB_MATRIX_DRIVER)), aw20216s)
 | 
			
		||||
        SPI_DRIVER_REQUIRED = yes
 | 
			
		||||
| 
						 | 
				
			
			@ -564,10 +564,6 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
 | 
			
		|||
    endif
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(strip $(RGB_KEYCODES_ENABLE)), yes)
 | 
			
		||||
    SRC += $(QUANTUM_DIR)/process_keycode/process_rgb.c
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
VARIABLE_TRACE ?= no
 | 
			
		||||
ifneq ($(strip $(VARIABLE_TRACE)),no)
 | 
			
		||||
    SRC += $(QUANTUM_DIR)/variable_trace.c
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue