From 7712afa3b247eb47eab808b575086d9b9f42ee5d Mon Sep 17 00:00:00 2001 From: Christian Kapeller Date: Thu, 8 Aug 2024 14:47:46 +0200 Subject: [PATCH] added support for Razer Cobra Pro Wired and Wireless 2.4GHz mouse --- librazermacos | 2 +- src/devices/cobra_pro_wired.json | 15 +++++++++++++++ src/devices/cobra_pro_wireless.json | 22 ++++++++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 src/devices/cobra_pro_wired.json create mode 100644 src/devices/cobra_pro_wireless.json diff --git a/librazermacos b/librazermacos index ba4e8eb..da38d9d 160000 --- a/librazermacos +++ b/librazermacos @@ -1 +1 @@ -Subproject commit ba4e8eb79a92e171f4e313534e04134c58c722a0 +Subproject commit da38d9d2d03e95e6f48768b5aa98cac6080eb333 diff --git a/src/devices/cobra_pro_wired.json b/src/devices/cobra_pro_wired.json new file mode 100644 index 0000000..2f2bc98 --- /dev/null +++ b/src/devices/cobra_pro_wired.json @@ -0,0 +1,15 @@ +{ + "name": "Razer Cobra Pro Wired", + "productId": "0x00AF", + "mainType": "mouse", + "image": "https://dl.razerzone.com/src2/13182/13182-1-en-v2.png", + "features": null, + "featuresMissing": ["oldMouseEffects", "reactive", "breathe"], + "featuresConfig": [ + { + "dpi": { + "max": 30000 + } + } + ] +} diff --git a/src/devices/cobra_pro_wireless.json b/src/devices/cobra_pro_wireless.json new file mode 100644 index 0000000..1304b05 --- /dev/null +++ b/src/devices/cobra_pro_wireless.json @@ -0,0 +1,22 @@ +{ + "name": "Razer Cobra Pro Wireless", + "productId": "0x00B0", + "mainType": "mouse", + "image": "https://dl.razerzone.com/src2/13182/13182-1-en-v2.png", + "features": null, + "featuresMissing": ["oldMouseEffects", "reactive", "breathe"], + "featuresConfig": [ + { + "mouseBrightness": { + "enabledMatrix": false, + "enabledLeft": false, + "enabledRight": false + } + }, + { + "dpi": { + "max": 30000 + } + } + ] +}