From 7d5b70c4b4282c1c6880e2753f7dcd182690d2b0 Mon Sep 17 00:00:00 2001 From: IceStormNG Date: Mon, 25 Mar 2024 10:08:52 +0100 Subject: [PATCH 1/2] Support for Chinese TuF M4 Wireless (P310) (#2285) * Support for Strix Carry (P508) * Fixes polling rate, angle snapping and debounce for Gladius II Origin. * The Gen2 version of the TuF M3 uses 0-100 for brightness. * Adds support for ROG Strix Impact III (P518) * Import/Export feature for mice. * Suppor for Strix Impact (P303) * Support for Strix Impact II Electro Punk * Strix Carry has 50 DPI minimum and increments of 50. * Respect top-most setting of GHelper * Fixes to the buttons to be wider to fit longer translations. * Basic support for the Galdius III EVA02 * Gladius wireless and wired PIDs were switched * Add support for the chinese variant of the M4 Wireless, the P310 --- app/Peripherals/Mouse/Models/TUFM4Wireless.cs | 19 +++++++++++++++++++ app/Peripherals/PeripheralsProvider.cs | 1 + 2 files changed, 20 insertions(+) diff --git a/app/Peripherals/Mouse/Models/TUFM4Wireless.cs b/app/Peripherals/Mouse/Models/TUFM4Wireless.cs index c47d1a6d..774bdce3 100644 --- a/app/Peripherals/Mouse/Models/TUFM4Wireless.cs +++ b/app/Peripherals/Mouse/Models/TUFM4Wireless.cs @@ -7,6 +7,10 @@ { } + public TUFM4Wirelss(ushort productId) : base(0x0B05, productId, "mi_00", true) + { + } + public override int DPIProfileCount() { return 4; @@ -82,4 +86,19 @@ return true; } } + + //P310 + public class TUFM4WirelssCN : TUFM4Wirelss + { + public TUFM4WirelssCN() : base(0x1A8D) + { + + } + + + public override string GetDisplayName() + { + return "TX GAMING MOUSE (Wireless)"; + } + } } diff --git a/app/Peripherals/PeripheralsProvider.cs b/app/Peripherals/PeripheralsProvider.cs index f073e339..fe369985 100644 --- a/app/Peripherals/PeripheralsProvider.cs +++ b/app/Peripherals/PeripheralsProvider.cs @@ -194,6 +194,7 @@ namespace GHelper.Peripherals DetectMouse(new ROGKerisWirelessEvaEdition()); DetectMouse(new ROGKerisWirelessEvaEditionWired()); DetectMouse(new TUFM4Wirelss()); + DetectMouse(new TUFM4WirelssCN()); DetectMouse(new StrixImpactIIWireless()); DetectMouse(new StrixImpactIIWirelessWired()); DetectMouse(new GladiusIII()); From 21cfa6cdbacc33710e3223d1acdf566cbb9cb9f8 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Mon, 25 Mar 2024 10:09:19 +0100 Subject: [PATCH 2/2] New translations strings.resx (Turkish) (#2276) --- app/Properties/Strings.tr.resx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/app/Properties/Strings.tr.resx b/app/Properties/Strings.tr.resx index 8b3dc8da..3723eff6 100644 --- a/app/Properties/Strings.tr.resx +++ b/app/Properties/Strings.tr.resx @@ -250,16 +250,16 @@ Uyanırken - Low + Düşük - Max + Yüksek - Mid + Orta - Off + Kapalı Pildeyken klavye ışığının kapanma süresi @@ -313,7 +313,7 @@ Parlaklığı Artır - Black and white tray icon + Siyah-beyaz tepsi simgesi Kalibre Et @@ -426,10 +426,10 @@ Yine de devam etmek istiyor musunuz? Fn+F kısayol tuşlarını FN tuşuna basmadan çalıştır - FN-Lock Off + FN-Lock Kapalı - FN-Lock On + FN-Lock Açık Dynamic Boost @@ -456,7 +456,7 @@ Yine de devam etmek istiyor musunuz? sadece harici GPU - GPU Power + GPU Gücü GPU Ayarları @@ -585,7 +585,7 @@ Yine de devam etmek istiyor musunuz? Çok Bölgeli (Güçlü) - Muted + Ses kapalı Mikrofonu Sustur @@ -603,10 +603,10 @@ Yine de devam etmek istiyor musunuz? Bağlantı Yok - Off + Kapalı - On + Açık Tek Bölgeli @@ -753,7 +753,7 @@ Yine de devam etmek istiyor musunuz? Undervolting deneysel ve riskli bir özelliktir. Uygulanan değerler cihazınız için çok düşükse, cihazınız stabil çalışmayabilir, kapanabilir veya veri kaybına uğrayabilir. Yine de denemek istiyorsanız, önce küçük değerlerden başlayıp Uygula'ya tıklayın ve sizin için uygun olanı test edin. - Unmuted + Ses açık Güncellemeler