summaryrefslogtreecommitdiff
path: root/keyboards/yandrstudio
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-01 13:33:10 +1000
committerGitHub <noreply@github.com>2023-05-01 13:33:10 +1000
commit12d42cedd2624db0d5cfe6f538211f9dfcd19822 (patch)
tree6220d782fbfa4fa231184532009b95076ea9cae5 /keyboards/yandrstudio
parent3bc4aeac6cc940d10bc73589ea67e0eaa7c7a878 (diff)
Move `FORCE_NKRO` to data driven (#20604)
Diffstat (limited to 'keyboards/yandrstudio')
-rw-r--r--keyboards/yandrstudio/zhou65/config.h19
-rw-r--r--keyboards/yandrstudio/zhou65/info.json3
2 files changed, 2 insertions, 20 deletions
diff --git a/keyboards/yandrstudio/zhou65/config.h b/keyboards/yandrstudio/zhou65/config.h
deleted file mode 100644
index 66ec91c510..0000000000
--- a/keyboards/yandrstudio/zhou65/config.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Copyright 2021 JasonRen(biu)
- *
- * 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
-
-/* enable the nkro when using the VIA. */
-#define FORCE_NKRO
diff --git a/keyboards/yandrstudio/zhou65/info.json b/keyboards/yandrstudio/zhou65/info.json
index cc020b9310..aa34d3864f 100644
--- a/keyboards/yandrstudio/zhou65/info.json
+++ b/keyboards/yandrstudio/zhou65/info.json
@@ -2,7 +2,8 @@
"keyboard_name": "zhou65",
"usb": {
"pid": "0xAAAD",
- "device_version": "1.0.0"
+ "device_version": "1.0.0",
+ "force_nkro": true
},
"matrix_pins": {
"cols": ["B9", "B6", "B5", "B4", "B3", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A8", "B15", "B14"],