summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk/ymd75
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-22 08:08:50 +1000
committerGitHub <noreply@github.com>2022-08-21 23:08:50 +0100
commitb0eda7701a372e820264c6a78afa1f8c410845f7 (patch)
treebe7ef4dbabac1fe15c5b48f0ae05d4c1c51868a5 /keyboards/ymdk/ymd75
parent3c0806a489a12d882f00cb1a5406e6291ad5b876 (diff)
Move keyboard USB IDs and strings to data driven, pass 3 (#18111)
Diffstat (limited to 'keyboards/ymdk/ymd75')
-rw-r--r--keyboards/ymdk/ymd75/rev1/config.h1
-rw-r--r--keyboards/ymdk/ymd75/rev1/info.json5
-rw-r--r--keyboards/ymdk/ymd75/rev2/config.h1
-rw-r--r--keyboards/ymdk/ymd75/rev2/info.json5
-rw-r--r--keyboards/ymdk/ymd75/rev3/config.h1
-rw-r--r--keyboards/ymdk/ymd75/rev3/info.json5
6 files changed, 15 insertions, 3 deletions
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"
+ }
+}