1
0
Fork 0

Move FORCE_NKRO to data driven (#20604)

This commit is contained in:
Ryan 2023-05-01 13:33:10 +10:00 committed by GitHub
parent 3bc4aeac6c
commit 12d42cedd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
228 changed files with 209 additions and 781 deletions

View file

@ -1,36 +0,0 @@
/*
Copyright 2021 Vicktor
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
#define FORCE_NKRO
/*
* 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

View file

@ -6,7 +6,8 @@
"usb": {
"vid": "0x726E",
"pid": "0x736B",
"device_version": "0.0.1"
"device_version": "0.0.1",
"force_nkro": true
},
"matrix_pins": {
"cols": ["B7", "D0", "D1", "D2", "D3", "B3", "E6", "D5", "F7", "F6", "F5", "F4", "F1", "F0"],

View file

@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
#define FORCE_NKRO
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -6,7 +6,8 @@
"usb": {
"vid": "0x726E",
"pid": "0x7661",
"device_version": "0.0.1"
"device_version": "0.0.1",
"force_nkro": true
},
"ws2812": {
"pin": "C7"