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
228 changed files with 209 additions and 781 deletions

View File

@@ -1,20 +0,0 @@
/*
Copyright 2022 Nabos <nabos at glargh dot fr>
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
#include "quantum.h"

View File

@@ -1,6 +0,0 @@
// Copyright 2022 Xiao (@xia0)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "quantum.h"

View File

@@ -1,6 +0,0 @@
// Copyright 2022 Xiao (@xia0)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "quantum.h"

View File

@@ -1,36 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
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": "0xFEED",
"pid": "0x4096",
"device_version": "0.0.1"
"device_version": "0.0.1",
"force_nkro": true
},
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3"],

View File

@@ -1,19 +0,0 @@
/* Copyright 2021 Fernando "ManoShu" Rodrigues
*
* 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
#include "quantum.h"

View File

@@ -27,8 +27,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define FORCE_NKRO
/*
* Command/Windows key option
*

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x13BA",
"pid": "0x0017",
"device_version": "0.0.1"
"device_version": "0.0.1",
"force_nkro": true
},
"processor": "at90usb1286",
"bootloader": "halfkay",

View File

@@ -10,8 +10,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define FORCE_NKRO
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0xFEED",
"pid": "0x0000",
"device_version": "0.0.1"
"device_version": "0.0.1",
"force_nkro": true
},
"matrix_pins": {
"cols": ["B1", "B3", "B2", "B6"],

View File

@@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* Force NKRO Mode - If forced on, must be disabled via magic key (default = LShift+RShift+N) */
#define FORCE_NKRO
/* remap magic keys */
#define MAGIC_KEY_LOCK BSLS

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0xFEED",
"pid": "0x6060",
"device_version": "0.0.1"
"device_version": "0.0.1",
"force_nkro": true
},
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "D2", "D3", "C7", "D5"],

View File

@@ -5,8 +5,6 @@
#define TAPPING_TERM 150
#define FORCE_NKRO
#ifdef AUDIO_ENABLE
#define AUDIO_PIN A5
#define AUDIO_PIN_ALT A4

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0xFEED",
"pid": "0x6060",
"device_version": "0.2.1"
"device_version": "0.2.1",
"force_nkro": true
},
"matrix_pins": {
"cols": ["A2", "A1", "A0", "B8", "B13", "B14", "B15", "B9", "B10", "B11", "B3", "B2", "B1", "B0"],

View File

@@ -1,3 +0,0 @@
#pragma once
#define FORCE_NKRO

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0xFEED",
"pid": "0x6060",
"device_version": "0.0.1"
"device_version": "0.0.1",
"force_nkro": true
},
"matrix_pins": {
"cols": ["B13", "B14", "B15", "B9", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0"],

View File

@@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MASTER_LEFT
//#define DEBUG_MATRIX_SCAN_RATE //Use this to determine scan-rate.
#define FORCE_NKRO
#ifdef AUDIO_ENABLE
#define AUDIO_PIN C6

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4131",
"pid": "0x5141",
"device_version": "0.0.1"
"device_version": "0.0.1",
"force_nkro": true
},
"matrix_pins": {
"cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],