diff options
Diffstat (limited to 'keyboards/ymdk/ymd75')
-rw-r--r-- | keyboards/ymdk/ymd75/config.h | 6 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/info.json | 7 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev1/config.h | 1 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev1/info.json | 5 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev2/config.h | 1 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev2/info.json | 5 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev3/config.h | 1 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev3/info.json | 5 |
8 files changed, 21 insertions, 10 deletions
diff --git a/keyboards/ymdk/ymd75/config.h b/keyboards/ymdk/ymd75/config.h index a828c4d64b..5539dd6dee 100644 --- a/keyboards/ymdk/ymd75/config.h +++ b/keyboards/ymdk/ymd75/config.h @@ -21,12 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "config_common.h" -#define VENDOR_ID 0x20A0 -#define PRODUCT_ID 0x422D - -#define MANUFACTURER YMDK -#define PRODUCT YMD75 / MT84 - #define BACKLIGHT_LEVELS 12 #define LED_CAPS_LOCK_PIN D1 diff --git a/keyboards/ymdk/ymd75/info.json b/keyboards/ymdk/ymd75/info.json index 65a53e87cd..3ad8d07bdf 100644 --- a/keyboards/ymdk/ymd75/info.json +++ b/keyboards/ymdk/ymd75/info.json @@ -1,7 +1,12 @@ { - "keyboard_name": "ymd75", + "keyboard_name": "YMD75 / MT84", + "manufacturer": "YMDK", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0x20A0", + "pid": "0x422D" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/ymdk/ymd75/rev1/config.h b/keyboards/ymdk/ymd75/rev1/config.h index bd169471af..e538ba0609 100644 --- a/keyboards/ymdk/ymd75/rev1/config.h +++ b/keyboards/ymdk/ymd75/rev1/config.h @@ -26,4 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define BACKLIGHT_PIN D4 #define DIODE_DIRECTION COL2ROW -#define DEVICE_VER 0x0100 diff --git a/keyboards/ymdk/ymd75/rev1/info.json b/keyboards/ymdk/ymd75/rev1/info.json new file mode 100644 index 0000000000..ad889c2304 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev1/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "1.0.0" + } +} diff --git a/keyboards/ymdk/ymd75/rev2/config.h b/keyboards/ymdk/ymd75/rev2/config.h index 41a75e6271..201213c40e 100644 --- a/keyboards/ymdk/ymd75/rev2/config.h +++ b/keyboards/ymdk/ymd75/rev2/config.h @@ -7,4 +7,3 @@ #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define BACKLIGHT_PIN D4 #define DIODE_DIRECTION COL2ROW -#define DEVICE_VER 0x0200 diff --git a/keyboards/ymdk/ymd75/rev2/info.json b/keyboards/ymdk/ymd75/rev2/info.json new file mode 100644 index 0000000000..3bdd63ee28 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev2/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "2.0.0" + } +} diff --git a/keyboards/ymdk/ymd75/rev3/config.h b/keyboards/ymdk/ymd75/rev3/config.h index cbed2e00ee..41af337f4c 100644 --- a/keyboards/ymdk/ymd75/rev3/config.h +++ b/keyboards/ymdk/ymd75/rev3/config.h @@ -6,5 +6,4 @@ #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } #define BACKLIGHT_PIN B6 // change the backlight pin that has since changed in Rev 3 #define DIODE_DIRECTION ROW2COL -#define DEVICE_VER 0x0300 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4 diff --git a/keyboards/ymdk/ymd75/rev3/info.json b/keyboards/ymdk/ymd75/rev3/info.json new file mode 100644 index 0000000000..775a9740ca --- /dev/null +++ b/keyboards/ymdk/ymd75/rev3/info.json @@ -0,0 +1,5 @@ +{ + "usb": { + "device_version": "3.0.0" + } +} |