summaryrefslogtreecommitdiff
path: root/keyboards/anavi
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 10:52:18 +1000
committerGitHub <noreply@github.com>2022-07-26 01:52:18 +0100
commit674422eb13a4f5c9c8238629e42f4fc1d7641ede (patch)
treea6bd07b6866ea0bb189c05e2bf63cbfa20dc5bc5 /keyboards/anavi
parenta939293aca697cb263f4972dbb1521d273fbf499 (diff)
downloadqmk_firmware-674422eb13a4f5c9c8238629e42f4fc1d7641ede.tar.gz
qmk_firmware-674422eb13a4f5c9c8238629e42f4fc1d7641ede.zip
Move keyboard USB IDs and strings to data driven: A (#17781)
Diffstat (limited to 'keyboards/anavi')
-rw-r--r--keyboards/anavi/macropad8/config.h7
-rw-r--r--keyboards/anavi/macropad8/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/anavi/macropad8/config.h b/keyboards/anavi/macropad8/config.h
index 4ec8c73123..ef51822f5a 100644
--- a/keyboards/anavi/macropad8/config.h
+++ b/keyboards/anavi/macropad8/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xCEEB
-#define PRODUCT_ID 0x0001
-#define DEVICE_VER 0x0001
-#define MANUFACTURER ANAVI
-#define PRODUCT Macro Pad 8
-
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 4
diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json
index 8f6deed82b..fd6d3bd0a1 100644
--- a/keyboards/anavi/macropad8/info.json
+++ b/keyboards/anavi/macropad8/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "ANAVI Macro Pad 8",
+ "keyboard_name": "Macro Pad 8",
+ "manufacturer": "ANAVI",
"url": "",
"maintainer": "leon-anavi",
+ "usb": {
+ "vid": "0xCEEB",
+ "pid": "0x0001",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_ortho_2x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}]