Move FORCE_NKRO to data driven (#20604)
				
					
				
			This commit is contained in:
		
							parent
							
								
									3bc4aeac6c
								
							
						
					
					
						commit
						12d42cedd2
					
				
					 228 changed files with 209 additions and 781 deletions
				
			
		| 
						 | 
				
			
			@ -1,19 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2021 Moritz Plattner
 | 
			
		||||
This program is free software: you can redistribute it and/or modify
 | 
			
		||||
it under the terms of the GNU General Public License as published by
 | 
			
		||||
the Free Software Foundation, either version 2 of the License, or
 | 
			
		||||
(at your option) any later version.
 | 
			
		||||
This program is distributed in the hope that it will be useful,
 | 
			
		||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
GNU General Public License for more details.
 | 
			
		||||
You should have received a copy of the GNU General Public License
 | 
			
		||||
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Force USB NKRO */
 | 
			
		||||
#define FORCE_NKRO
 | 
			
		||||
| 
						 | 
				
			
			@ -5,7 +5,8 @@
 | 
			
		|||
    "usb": {
 | 
			
		||||
      "vid": "0x4C58",
 | 
			
		||||
      "pid": "0x0005",
 | 
			
		||||
      "device_version": "0.0.1"
 | 
			
		||||
      "device_version": "0.0.1",
 | 
			
		||||
      "force_nkro": true
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
      "cols": ["E6", "F0", "F1", "B4", "D5", "D3", "D2", "B2"],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,10 +14,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Force USB NKRO */
 | 
			
		||||
#define FORCE_NKRO
 | 
			
		||||
 | 
			
		||||
/* Underglow */
 | 
			
		||||
#define RGBLED_NUM 40
 | 
			
		||||
#define RGBLIGHT_SLEEP // Turns LEDs off if the PC goes to sleep/shutdown
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,8 @@
 | 
			
		|||
    "usb": {
 | 
			
		||||
        "vid": "0x4C58",
 | 
			
		||||
        "pid": "0x0002",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
        "device_version": "0.0.1",
 | 
			
		||||
        "force_nkro": true
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["F1", "F0", "E6", "B0", "B1", "B2", "B3", "D6", "D7"],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,10 +14,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Force USB NKRO */
 | 
			
		||||
#define FORCE_NKRO
 | 
			
		||||
 | 
			
		||||
#define BACKLIGHT_PWM_DRIVER PWMD1
 | 
			
		||||
#define BACKLIGHT_PWM_CHANNEL 3
 | 
			
		||||
#define BACKLIGHT_PAL_MODE 6
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,8 @@
 | 
			
		|||
    "usb": {
 | 
			
		||||
        "vid": "0x4C58",
 | 
			
		||||
        "pid": "0x0001",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
        "device_version": "0.0.1",
 | 
			
		||||
        "force_nkro": true
 | 
			
		||||
    },
 | 
			
		||||
    "ws2812": {
 | 
			
		||||
        "pin": "B9",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue