Move miscellaneous defines to data driven (#21382)

This commit is contained in:
Ryan 2023-07-03 07:40:13 +10:00 committed by GitHub
parent 9ab16e62f7
commit 023035f462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 103 additions and 236 deletions

View file

@ -1,20 +0,0 @@
/* Copyright 2021 TW59420 <https://github.com/TW59420>
*
* 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
/* 将USB 轮询速率更改为 1000hz 并为精英游戏每次扫描使用更大的密钥*/
#define USB_POLLING_INTERVAL_MS 2

View file

@ -7,7 +7,8 @@
"vid": "0x7BA1",
"pid": "0x6505",
"device_version": "0.0.1",
"force_nkro": true
"force_nkro": true,
"polling_interval": 2
},
"matrix_pins": {
"cols": ["B1", "F0", "F1", "F4", "F5", "F6", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],