diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-15 11:53:19 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 02:53:19 +0100 |
commit | 1027aed83a264d03cf3bbfd4a85ca7d240217b0f (patch) | |
tree | 17d41fcd7ac83fd21b0b1bac30eb16ac8e1be4b6 /keyboards/hadron | |
parent | 4c91e5bef8324d6b21625aa698f153d9b47600d0 (diff) |
Move keyboard USB IDs and strings to data driven, pass 2: F-I (#17958)
Diffstat (limited to 'keyboards/hadron')
-rw-r--r-- | keyboards/hadron/config.h | 6 | ||||
-rw-r--r-- | keyboards/hadron/info.json | 5 | ||||
-rw-r--r-- | keyboards/hadron/ver2/config.h | 3 | ||||
-rw-r--r-- | keyboards/hadron/ver2/info.json | 5 | ||||
-rw-r--r-- | keyboards/hadron/ver3/config.h | 3 | ||||
-rw-r--r-- | keyboards/hadron/ver3/info.json | 5 |
6 files changed, 15 insertions, 12 deletions
diff --git a/keyboards/hadron/config.h b/keyboards/hadron/config.h index 3281984d19..5fd8c70482 100644 --- a/keyboards/hadron/config.h +++ b/keyboards/hadron/config.h @@ -19,12 +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 0xFB30 -#define PRODUCT_ID 0x5F37 -#define MANUFACTURER ishtob -#define PRODUCT Hadron Keyboard - //#define AUDIO_VOICES //#define BACKLIGHT_PIN B7 diff --git a/keyboards/hadron/info.json b/keyboards/hadron/info.json index 7fb7d41cf2..c5a19a2e14 100644 --- a/keyboards/hadron/info.json +++ b/keyboards/hadron/info.json @@ -1,7 +1,12 @@ { "keyboard_name": "Hadron", + "manufacturer": "ishtob", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0xFB30", + "pid": "0x5F37" + }, "layouts": { "LAYOUT": { "layout": [{"label":"K00", "x":0, "y":0}, {"label":"K01", "x":1, "y":0}, {"label":"K02", "x":2, "y":0}, {"label":"K03", "x":3, "y":0}, {"label":"K04", "x":4, "y":0}, {"label":"K05", "x":5, "y":0}, {"label":"K06", "x":6, "y":0}, {"label":"K07", "x":7, "y":0}, {"label":"K08", "x":8, "y":0}, {"label":"K09", "x":9, "y":0}, {"label":"K0A", "x":10, "y":0}, {"label":"K0B", "x":11, "y":0}, {"label":"K10", "x":0, "y":1}, {"label":"K11", "x":1, "y":1}, {"label":"K12", "x":2, "y":1}, {"label":"K13", "x":3, "y":1}, {"label":"K14", "x":4, "y":1}, {"label":"K15", "x":5, "y":1}, {"label":"K16", "x":6, "y":1}, {"label":"K17", "x":7, "y":1}, {"label":"K18", "x":8, "y":1}, {"label":"K19", "x":9, "y":1}, {"label":"K1A", "x":10, "y":1}, {"label":"K1B", "x":11, "y":1}, {"label":"K1C", "x":12, "y":1}, {"label":"K1D", "x":13, "y":1}, {"label":"K1E", "x":14, "y":1}, {"label":"K20", "x":0, "y":2}, {"label":"K21", "x":1, "y":2}, {"label":"K22", "x":2, "y":2}, {"label":"K23", "x":3, "y":2}, {"label":"K24", "x":4, "y":2}, {"label":"K25", "x":5, "y":2}, {"label":"K26", "x":6, "y":2}, {"label":"K27", "x":7, "y":2}, {"label":"K28", "x":8, "y":2}, {"label":"K29", "x":9, "y":2}, {"label":"K2A", "x":10, "y":2}, {"label":"K2B", "x":11, "y":2}, {"label":"K2C", "x":12, "y":2}, {"label":"K2D", "x":13, "y":2}, {"label":"K2E", "x":14, "y":2}, {"label":"K30", "x":0, "y":3}, {"label":"K31", "x":1, "y":3}, {"label":"K32", "x":2, "y":3}, {"label":"K33", "x":3, "y":3}, {"label":"K34", "x":4, "y":3}, {"label":"K35", "x":5, "y":3}, {"label":"K36", "x":6, "y":3}, {"label":"K37", "x":7, "y":3}, {"label":"K38", "x":8, "y":3}, {"label":"K39", "x":9, "y":3}, {"label":"K3A", "x":10, "y":3}, {"label":"K3B", "x":11, "y":3}, {"label":"K3C", "x":12, "y":3}, {"label":"K3D", "x":13, "y":3}, {"label":"K3E", "x":14, "y":3}, {"label":"K40", "x":0, "y":4}, {"label":"K41", "x":1, "y":4}, {"label":"K42", "x":2, "y":4}, {"label":"K43", "x":3, "y":4}, {"label":"K44", "x":4, "y":4}, {"label":"K45", "x":5, "y":4}, {"label":"K46", "x":6, "y":4}, {"label":"K47", "x":7, "y":4}, {"label":"K48", "x":8, "y":4}, {"label":"K49", "x":9, "y":4}, {"label":"K4A", "x":10, "y":4}, {"label":"K4B", "x":11, "y":4}, {"label":"K4C", "x":12, "y":4}, {"label":"K4D", "x":13, "y":4}, {"label":"K4E", "x":14, "y":4}] diff --git a/keyboards/hadron/ver2/config.h b/keyboards/hadron/ver2/config.h index c992f7fe33..58c1f3dbd1 100644 --- a/keyboards/hadron/ver2/config.h +++ b/keyboards/hadron/ver2/config.h @@ -16,9 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once -/* USB Device descriptor parameter */ -#define DEVICE_VER 0x0002 - /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 15 diff --git a/keyboards/hadron/ver2/info.json b/keyboards/hadron/ver2/info.json new file mode 100644 index 0000000000..e557e4d307 --- /dev/null +++ b/keyboards/hadron/ver2/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.2" + } +} diff --git a/keyboards/hadron/ver3/config.h b/keyboards/hadron/ver3/config.h index c61cc9a1e0..e52508b89e 100644 --- a/keyboards/hadron/ver3/config.h +++ b/keyboards/hadron/ver3/config.h @@ -17,9 +17,6 @@ #pragma once -/* USB Device descriptor parameter */ -#define DEVICE_VER 0x0003 - #undef MATRIX_ROWS #undef MATRIX_COLS /* key matrix size */ diff --git a/keyboards/hadron/ver3/info.json b/keyboards/hadron/ver3/info.json new file mode 100644 index 0000000000..b377cdff00 --- /dev/null +++ b/keyboards/hadron/ver3/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "0.0.3" + } +} |