From 2a11bdbbb69143639a5974848cb010a7cf20d238 Mon Sep 17 00:00:00 2001 From: Radu Maerza Date: Mon, 25 Jul 2022 20:17:41 +0200 Subject: [PATCH 1/6] board is recognized --- .vscode/settings.json | 3 +++ README.md | 3 ++- src/devices/blackwidow_v3_pro_wireless.json | 21 +++++++++++++++++++++ src/main/razerdevicemanager.js | 1 + 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json create mode 100644 src/devices/blackwidow_v3_pro_wireless.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..65e1ec0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "makefile.extensionOutputFolder": "./.vscode" +} \ No newline at end of file diff --git a/README.md b/README.md index ffb8f14..5a353f6 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,8 @@ Keyboards: - Razer BlackWidow Ultimate 2013 - Razer BlackWidow Ultimate 2016 - Razer BlackWidow V3 -- Razer BlackWidow V3 Pro (wired) +- Razer BlackWidow V3 Pro (Wired) +- Razer BlackWidow V3 Pro (Wireless) - Razer BlackWidow V3 TK - Razer BlackWidow X Chroma - Razer BlackWidow X Chroma Tournament Edition diff --git a/src/devices/blackwidow_v3_pro_wireless.json b/src/devices/blackwidow_v3_pro_wireless.json new file mode 100644 index 0000000..2924594 --- /dev/null +++ b/src/devices/blackwidow_v3_pro_wireless.json @@ -0,0 +1,21 @@ +{ + "name": "Razer BlackWidow V3 Pro (Wireless)", + "productId": "0x025C", + "mainType": "keyboard", + "image": "https://assets.razerzone.com/eeimages/support/products/1709/1709-blackwidow-v3-tkl.png", + "features": null, + "featuresConfig": [ + { + "ripple": { + "rows": 6, + "cols": 22 + } + }, + { + "wheel": { + "rows": 6, + "cols": 22 + } + } + ] +} diff --git a/src/main/razerdevicemanager.js b/src/main/razerdevicemanager.js index 361bfb1..0fa3397 100644 --- a/src/main/razerdevicemanager.js +++ b/src/main/razerdevicemanager.js @@ -32,6 +32,7 @@ export class RazerDeviceManager { this.closeDevices(); const devicePromises = this.addon.getAllDevices().map(async foundDevice => { + console.log(foundDevice); const configurationDevice = this.razerConfigDevices.find(d => d.productId === foundDevice.productId); if (configurationDevice === undefined) { return null; From ef2a413920a675414087ab67aeaa27c4b9d8e45e Mon Sep 17 00:00:00 2001 From: Radu Maerza Date: Mon, 25 Jul 2022 20:20:35 +0200 Subject: [PATCH 2/6] undo changes --- .vscode/settings.json | 3 --- librazermacos | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 65e1ec0..e69de29 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +0,0 @@ -{ - "makefile.extensionOutputFolder": "./.vscode" -} \ No newline at end of file diff --git a/librazermacos b/librazermacos index 0ccc968..c8f9538 160000 --- a/librazermacos +++ b/librazermacos @@ -1 +1 @@ -Subproject commit 0ccc968dd1b809adec450e194a060675e56fb8f6 +Subproject commit c8f9538b36a44215555d82acd1ba26e37d83e0eb From 963bc44a51fa35011c5aa2e45e4b6407b863e700 Mon Sep 17 00:00:00 2001 From: Radu Maerza Date: Mon, 25 Jul 2022 22:00:30 +0200 Subject: [PATCH 3/6] some cleanup - still not working.... --- .vscode/settings.json | 0 src/main/razerdevicemanager.js | 1 - 2 files changed, 1 deletion(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/razerdevicemanager.js b/src/main/razerdevicemanager.js index 0fa3397..361bfb1 100644 --- a/src/main/razerdevicemanager.js +++ b/src/main/razerdevicemanager.js @@ -32,7 +32,6 @@ export class RazerDeviceManager { this.closeDevices(); const devicePromises = this.addon.getAllDevices().map(async foundDevice => { - console.log(foundDevice); const configurationDevice = this.razerConfigDevices.find(d => d.productId === foundDevice.productId); if (configurationDevice === undefined) { return null; From e018d43062e5ba4a832f46f94431a2ee8f6ec830 Mon Sep 17 00:00:00 2001 From: Radu Maerza Date: Fri, 29 Jul 2022 21:01:41 +0200 Subject: [PATCH 4/6] subproject commit --- librazermacos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librazermacos b/librazermacos index c8f9538..bd8b8f7 160000 --- a/librazermacos +++ b/librazermacos @@ -1 +1 @@ -Subproject commit c8f9538b36a44215555d82acd1ba26e37d83e0eb +Subproject commit bd8b8f7eeec43d7fcb230a836b2e14a7884dbfb3 From 01f3d257a126a7931bae235e37888860b2ee9e6f Mon Sep 17 00:00:00 2001 From: Radu Maerza Date: Fri, 29 Jul 2022 21:15:36 +0200 Subject: [PATCH 5/6] changed device image --- src/devices/blackwidow_v3_pro_wireless.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/blackwidow_v3_pro_wireless.json b/src/devices/blackwidow_v3_pro_wireless.json index 2924594..9fc3b8e 100644 --- a/src/devices/blackwidow_v3_pro_wireless.json +++ b/src/devices/blackwidow_v3_pro_wireless.json @@ -2,7 +2,7 @@ "name": "Razer BlackWidow V3 Pro (Wireless)", "productId": "0x025C", "mainType": "keyboard", - "image": "https://assets.razerzone.com/eeimages/support/products/1709/1709-blackwidow-v3-tkl.png", + "image": "https://dl.razerzone.com/src/3809-1-EN-v1.png", "features": null, "featuresConfig": [ { From a79a88f6ab23d3840b39cc92be1b04bb4a22ad19 Mon Sep 17 00:00:00 2001 From: Radu Maerza Date: Fri, 29 Jul 2022 21:22:17 +0200 Subject: [PATCH 6/6] subproject change --- librazermacos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librazermacos b/librazermacos index bd8b8f7..36afd71 160000 --- a/librazermacos +++ b/librazermacos @@ -1 +1 @@ -Subproject commit bd8b8f7eeec43d7fcb230a836b2e14a7884dbfb3 +Subproject commit 36afd7187dce32fa86334bd226a70186f792e651