diff options
author | Ryan <[email protected]> | 2023-05-01 13:33:10 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-01 13:33:10 +1000 |
commit | 12d42cedd2624db0d5cfe6f538211f9dfcd19822 (patch) | |
tree | 6220d782fbfa4fa231184532009b95076ea9cae5 /keyboards/idobao/id42 | |
parent | 3bc4aeac6cc940d10bc73589ea67e0eaa7c7a878 (diff) | |
download | qmk_firmware-12d42cedd2624db0d5cfe6f538211f9dfcd19822.tar.gz qmk_firmware-12d42cedd2624db0d5cfe6f538211f9dfcd19822.zip |
Move `FORCE_NKRO` to data driven (#20604)
Diffstat (limited to 'keyboards/idobao/id42')
-rwxr-xr-x | keyboards/idobao/id42/config.h | 7 | ||||
-rwxr-xr-x | keyboards/idobao/id42/id42.c | 2 | ||||
-rwxr-xr-x | keyboards/idobao/id42/id42.h | 6 | ||||
-rw-r--r-- | keyboards/idobao/id42/info.json | 3 |
4 files changed, 3 insertions, 15 deletions
diff --git a/keyboards/idobao/id42/config.h b/keyboards/idobao/id42/config.h index 6f43a71054..501fd1f996 100755 --- a/keyboards/idobao/id42/config.h +++ b/keyboards/idobao/id42/config.h @@ -3,13 +3,6 @@ #pragma once - -/* Other settings */ - -/* NKRO by default is required to be turned on. This forces it on - during keyboard startup regardless of EEPROM setting. */ -#define FORCE_NKRO - /* Change the USB polling rate [default = 1000Hz (1ms)] and * use larger value of keys per scan for elite games */ #define USB_POLLING_INTERVAL_MS 2 // 500Hz diff --git a/keyboards/idobao/id42/id42.c b/keyboards/idobao/id42/id42.c index 15cc0b41b0..5e76e4c5be 100755 --- a/keyboards/idobao/id42/id42.c +++ b/keyboards/idobao/id42/id42.c @@ -1,7 +1,7 @@ // Copyright 2022 Vino Rodrigues (@vinorodrigues) // SPDX-License-Identifier: GPL-2.0-or-later -#include "id42.h" +#include "quantum.h" #define __ NO_LED diff --git a/keyboards/idobao/id42/id42.h b/keyboards/idobao/id42/id42.h deleted file mode 100755 index d9bef6d021..0000000000 --- a/keyboards/idobao/id42/id42.h +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2022 Vino Rodrigues (@vinorodrigues) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "quantum.h" diff --git a/keyboards/idobao/id42/info.json b/keyboards/idobao/id42/info.json index ea37dd3322..47f40ce119 100644 --- a/keyboards/idobao/id42/info.json +++ b/keyboards/idobao/id42/info.json @@ -29,7 +29,8 @@ "usb": { "vid": "0x6964", "pid": "0x0042", - "device_version": "1.0.0" + "device_version": "1.0.0", + "force_nkro": true }, "layouts": { "LAYOUT": { |