Migrate LOCKING_*_ENABLE to Data-Driven: W, Part 1 (#23788)
				
					
				
			Affects: - `waldo` - `walletburner/cajal` - `walletburner/neuron` - `wavtype/foundation` - `wavtype/p01_ultra` - `weirdo/geminate60` - `weirdo/kelowna/rgb64` - `weirdo/ls_60` - `weirdo/naiping/np64` - `weirdo/naiping/nphhkb` - `weirdo/naiping/npminila` - `weirdo/tiger910` - `wekey/polaris` - `westfoxtrot/aanzee` - `westfoxtrot/cyclops` - `westfoxtrot/cypher/rev1` - `westfoxtrot/cypher/rev5` - `westfoxtrot/prophet` - `westm/westm9` - `westm/westm68`
This commit is contained in:
		
							parent
							
								
									c4e182b98e
								
							
						
					
					
						commit
						013b51a904
					
				
					 40 changed files with 120 additions and 414 deletions
				
			
		| 
						 | 
				
			
			@ -1,25 +0,0 @@
 | 
			
		|||
// Copyright 2022 wavtype (@wavtype)
 | 
			
		||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 | 
			
		||||
#define LOCKING_SUPPORT_ENABLE
 | 
			
		||||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
 *  These options are also useful to firmware size reduction.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/* disable debug print */
 | 
			
		||||
//#define NO_DEBUG
 | 
			
		||||
 | 
			
		||||
/* disable print */
 | 
			
		||||
//#define NO_PRINT
 | 
			
		||||
 | 
			
		||||
/* disable action features */
 | 
			
		||||
//#define NO_ACTION_LAYER
 | 
			
		||||
//#define NO_ACTION_TAPPING
 | 
			
		||||
//#define NO_ACTION_ONESHOT
 | 
			
		||||
| 
						 | 
				
			
			@ -38,6 +38,12 @@
 | 
			
		|||
        "nkro": false,
 | 
			
		||||
        "rgblight": true
 | 
			
		||||
    },
 | 
			
		||||
    "qmk": {
 | 
			
		||||
        "locking": {
 | 
			
		||||
            "enabled": true,
 | 
			
		||||
            "resync": true
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["F4", "F5", "F6", "F7", "D2", "D1", "D0", "D3", "D5", "D4", "B7", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
 | 
			
		||||
        "rows": ["B3", "B2", "B1", "F0", "F1"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,39 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2021 wavtype
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 | 
			
		||||
#define LOCKING_SUPPORT_ENABLE
 | 
			
		||||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
 *  These options are also useful to firmware size reduction.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/* disable debug print */
 | 
			
		||||
//#define NO_DEBUG
 | 
			
		||||
 | 
			
		||||
/* disable print */
 | 
			
		||||
//#define NO_PRINT
 | 
			
		||||
 | 
			
		||||
/* disable action features */
 | 
			
		||||
//#define NO_ACTION_LAYER
 | 
			
		||||
//#define NO_ACTION_TAPPING
 | 
			
		||||
//#define NO_ACTION_ONESHOT
 | 
			
		||||
| 
						 | 
				
			
			@ -37,6 +37,12 @@
 | 
			
		|||
        "nkro": false,
 | 
			
		||||
        "rgblight": true
 | 
			
		||||
    },
 | 
			
		||||
    "qmk": {
 | 
			
		||||
        "locking": {
 | 
			
		||||
            "enabled": true,
 | 
			
		||||
            "resync": true
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B3", "B2", "B1", "B0", "B7", "D0", "D1", "D2", "D3", "D5"],
 | 
			
		||||
        "rows": ["B4", "D7", "D6", "B5", "B6", "D4"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue