Move RGB_MATRIX_DRIVER to data driven (#20350)
				
					
				
			This commit is contained in:
		
							parent
							
								
									10fc6c4cd6
								
							
						
					
					
						commit
						522048725f
					
				
					 833 changed files with 1250 additions and 437 deletions
				
			
		| 
						 | 
				
			
			@ -12,6 +12,9 @@
 | 
			
		|||
        "pin": "B5",
 | 
			
		||||
        "driver": "pwm"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "WS2812"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["A0", "B11", "B0", "B10", "B12", "B2", "A8"],
 | 
			
		||||
        "rows": ["A1", "A3", "B3", "A13", "B15", null, null]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,6 @@ AUDIO_ENABLE = no           # Audio output
 | 
			
		|||
 | 
			
		||||
RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 | 
			
		||||
RGB_MATRIX_ENABLE = yes
 | 
			
		||||
RGB_MATRIX_DRIVER = WS2812
 | 
			
		||||
 | 
			
		||||
OLED_ENABLE = yes
 | 
			
		||||
OLED_DRIVER = SSD1306    # Enable the OLED Driver
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,9 @@
 | 
			
		|||
        "pid": "0x8C9C",
 | 
			
		||||
        "device_version": "0.0.2"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "custom"
 | 
			
		||||
    },
 | 
			
		||||
    "layouts": {
 | 
			
		||||
        "LAYOUT_all": {
 | 
			
		||||
            "layout": [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,2 @@
 | 
			
		|||
# The default configuration is a atmega32a
 | 
			
		||||
DEFAULT_FOLDER = rgbkb/pan/rev1/32a
 | 
			
		||||
 | 
			
		||||
RGB_MATRIX_DRIVER = custom
 | 
			
		||||
WS2812_DRIVER_REQUIRED := yes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,6 @@ COMMAND_ENABLE = no         # Commands for debug and configuration
 | 
			
		|||
NKRO_ENABLE = no            # Enable N-Key Rollover
 | 
			
		||||
AUDIO_ENABLE = no           # Audio output
 | 
			
		||||
RGB_MATRIX_ENABLE = yes
 | 
			
		||||
RGB_MATRIX_DRIVER = WS2812
 | 
			
		||||
ENCODER_ENABLE = yes
 | 
			
		||||
OLED_ENABLE = yes
 | 
			
		||||
OLED_DRIVER = SSD1306
 | 
			
		||||
| 
						 | 
				
			
			@ -20,3 +19,5 @@ STAGGERED_LAYOUT = no # If you soldered R1-A12 and R4-A12, enable this.
 | 
			
		|||
 | 
			
		||||
# Default to revision 1
 | 
			
		||||
DEFAULT_FOLDER = rgbkb/pan/rev1
 | 
			
		||||
 | 
			
		||||
WS2812_DRIVER_REQUIRED := yes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,9 @@
 | 
			
		|||
        "pid": "0x3060",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "WS2812"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7"],
 | 
			
		||||
        "rows": ["C6", "B6", "B5", "B4", "D7", "E6"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,7 +15,6 @@ RGBLIGHT_ENABLE         = yes       # Enable global lighting effects. Do not ena
 | 
			
		|||
LED_MIRRORED            = yes       # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master)
 | 
			
		||||
 | 
			
		||||
RGB_MATRIX_ENABLE       = no        # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
 | 
			
		||||
RGB_MATRIX_DRIVER       = WS2812
 | 
			
		||||
RGB_MATRIX_KEYPRESSES   = no        # Enable reactive per-key effects.
 | 
			
		||||
RGB_MATRIX_FRAMEBUFFER_EFFECTS = no # Enable frame buffer effects like the typing heatmap.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,9 @@
 | 
			
		|||
        "pid": "0x3060",
 | 
			
		||||
        "device_version": "0.0.2"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "WS2812"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7"],
 | 
			
		||||
        "rows": ["C6", "B6", "B5", "B4", "D7", "E6"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,7 +15,6 @@ RGBLIGHT_ENABLE         = no        # Enable global lighting effects. Do not ena
 | 
			
		|||
LED_MIRRORED            = no        # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master)
 | 
			
		||||
 | 
			
		||||
RGB_MATRIX_ENABLE = yes             # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
 | 
			
		||||
RGB_MATRIX_DRIVER = WS2812
 | 
			
		||||
RGB_MATRIX_KEYPRESSES   = no        # Enable reactive per-key effects.
 | 
			
		||||
RGB_MATRIX_FRAMEBUFFER_EFFECTS = no # Enable frame buffer effects like the typing heatmap.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,6 +12,9 @@
 | 
			
		|||
        "pin": "B5",
 | 
			
		||||
        "driver": "pwm"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "driver": "WS2812"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["A6", "A7", "B0", "B2", "B1", "B9", "B3", "B4"],
 | 
			
		||||
        "rows": ["B15", "A8", "A15", "B12", "A3", null]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,6 @@ DIP_SWITCH_ENABLE = yes
 | 
			
		|||
 | 
			
		||||
RGBLIGHT_ENABLE = no
 | 
			
		||||
RGB_MATRIX_ENABLE = yes
 | 
			
		||||
RGB_MATRIX_DRIVER = WS2812
 | 
			
		||||
 | 
			
		||||
OLED_ENABLE = yes
 | 
			
		||||
OLED_DRIVER = SSD1306    # Enable the OLED Driver
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,9 @@
 | 
			
		|||
      "pid": "0x3060",
 | 
			
		||||
      "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
      "driver": "WS2812"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
      "cols": ["F4", "F6", "C7", "C6", "B6", "D4"],
 | 
			
		||||
      "rows": ["F1", "F5", "F7", "B5", "B4"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,6 @@ NKRO_ENABLE = no            # Enable N-Key Rollover
 | 
			
		|||
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 | 
			
		||||
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
 | 
			
		||||
AUDIO_ENABLE = no           # Audio output
 | 
			
		||||
RGB_MATRIX_DRIVER = WS2812
 | 
			
		||||
 | 
			
		||||
SPLIT_KEYBOARD = yes
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue