Move RGBLIGHT_HUE/SAT/VAL_STEP to data driven (#21292)
				
					
				
			Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
		
							parent
							
								
									6545eb64a0
								
							
						
					
					
						commit
						4ae9bfd17a
					
				
					 1279 changed files with 1245 additions and 2182 deletions
				
			
		| 
						 | 
				
			
			@ -30,10 +30,6 @@
 | 
			
		|||
#define RGBLIGHT_EFFECT_ALTERNATING
 | 
			
		||||
#define RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
 | 
			
		||||
#define CAPS_PIN    D3
 | 
			
		||||
#define NUM_PIN     F7
 | 
			
		||||
#define SCROLL_PIN  B0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,6 +9,8 @@
 | 
			
		|||
        "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
        "saturation_steps": 8,
 | 
			
		||||
        "brightness_steps": 8,
 | 
			
		||||
        "led_count": 14,
 | 
			
		||||
        "sleep": true,
 | 
			
		||||
        "led_map": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,9 +37,6 @@
 | 
			
		|||
#define RGBLIGHT_EFFECT_RGB_TEST
 | 
			
		||||
#define RGBLIGHT_EFFECT_ALTERNATING
 | 
			
		||||
#define RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
 | 
			
		||||
//pin setting
 | 
			
		||||
#define LED_POWER_PIN       D5
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,6 +17,8 @@
 | 
			
		|||
        "caps_lock": "E2"
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
        "saturation_steps": 8,
 | 
			
		||||
        "brightness_steps": 8,
 | 
			
		||||
        "led_count": 4
 | 
			
		||||
    },
 | 
			
		||||
    "ws2812": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,7 +14,4 @@
 | 
			
		|||
#define RGBLIGHT_EFFECT_RGB_TEST
 | 
			
		||||
#define RGBLIGHT_EFFECT_ALTERNATING
 | 
			
		||||
#define RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,6 +9,8 @@
 | 
			
		|||
    "device_version": "0.0.1"
 | 
			
		||||
  },
 | 
			
		||||
  "rgblight": {
 | 
			
		||||
    "saturation_steps": 8,
 | 
			
		||||
    "brightness_steps": 8,
 | 
			
		||||
    "led_count": 16,
 | 
			
		||||
    "sleep": true
 | 
			
		||||
  },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,6 +37,3 @@
 | 
			
		|||
#define RGBLIGHT_EFFECT_RGB_TEST
 | 
			
		||||
#define RGBLIGHT_EFFECT_ALTERNATING
 | 
			
		||||
#define RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
#define RGBLIGHT_HUE_STEP   8
 | 
			
		||||
#define RGBLIGHT_SAT_STEP   8
 | 
			
		||||
#define RGBLIGHT_VAL_STEP   8
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,8 @@
 | 
			
		|||
    "scroll_lock": "D2"
 | 
			
		||||
  },
 | 
			
		||||
  "rgblight": {
 | 
			
		||||
    "saturation_steps": 8,
 | 
			
		||||
    "brightness_steps": 8,
 | 
			
		||||
    "led_count": 4
 | 
			
		||||
  },
 | 
			
		||||
  "ws2812": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue