Move RGBLIGHT_LIMIT_VAL to data driven (#20974)
				
					
				
			Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
		
							parent
							
								
									8fdcba12e6
								
							
						
					
					
						commit
						363bfdbfda
					
				
					 679 changed files with 649 additions and 493 deletions
				
			
		| 
						 | 
				
			
			@ -30,7 +30,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#ifdef RGBLIGHT_ENABLE
 | 
			
		||||
#define RGBLED_NUM 69    // Number of LEDs. backlight x69
 | 
			
		||||
#define RGBLED_SPLIT { 34, 35 }
 | 
			
		||||
#define RGBLIGHT_LIMIT_VAL 120 /* The maximum brightness level */
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 10
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 17
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 17
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,6 +19,9 @@
 | 
			
		|||
    "ws2812": {
 | 
			
		||||
        "pin": "D3"
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
        "max_brightness": 120
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "atmega32u4",
 | 
			
		||||
    "bootloader": "caterina",
 | 
			
		||||
    "layouts": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,9 +36,6 @@
 | 
			
		|||
#define RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Limits the brightness of the LEDS range of 255-0 (255 is default)*/
 | 
			
		||||
#define RGBLIGHT_LIMIT_VAL 128
 | 
			
		||||
 | 
			
		||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 | 
			
		||||
#define LOCKING_SUPPORT_ENABLE
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,6 +26,9 @@
 | 
			
		|||
    "ws2812": {
 | 
			
		||||
        "pin": "E6"
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
        "max_brightness": 128
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "atmega32u4",
 | 
			
		||||
    "bootloader": "atmel-dfu",
 | 
			
		||||
   "layouts": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue