seerge / g-helper

Lightweight Armoury Crate alternative for Asus laptops and ROG Ally. Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar and other models
https://g-helper.com
GNU General Public License v3.0
7.96k stars 277 forks source link

M1, M2 buttons working incorrectly. #3294

Closed leftedz closed 1 month ago

leftedz commented 1 month ago

Rules

What's wrong?

I was in Counter Strike Global Offensive Legacy changing binds and when i press either M1 or M2 button it registers as C and B respectively for some reason. When i try to type these letters in any field though they don't respond as C or B and rather work as intended. Also when I'm on this website https://www.keyboardtester.com/tester.html my trackpad disabler button acts as CTRL+WIN+F24 and my Volume off button as "-". What could be reason to this?

How to reproduce the bug?

I tested this in Fortnite and CSGO Legacy binds menus. In Fortnite this bug seems to not work.

Logs

log.txt

Device and Model

Asus TUF A15 FA507RE

Additional information.

I just encountered this and don't know where this bug can be seen outside of CSGO.

Armoury Crate

Uninstalled

Asus Services

None

Version

0.194.0

OS

Windows 11 Pro 23H2

seerge commented 1 month ago

@leftedz hello,

M1 and M2 emit windows media volume controls on hardware level, they are not handled by G-Helper (unless you explicitly bind them to something else under Extra, if you did - set them back to Volume controls). Do they work as volume controls in windows?

Trackpad disable hotkey is indeed CTRL+WIN+F24. It's absolutely correct binding in windows

Volume off is also a hardware key in windows. Does it mute volume in windows when you press it ?

leftedz commented 1 month ago

Hello! Yes, as i mentioned in windows they perform as intended(Change volume respectively), but while i was in CSGO they were acting as C and B buttons for some reason. And i didn't bind them to anything beforehand. Also yes all buttons do work as intended in windows, it's just thing with CSGO.

seerge commented 1 month ago

@leftedz then it's something inside CS:GO and not related to G-Helper :)

leftedz commented 1 month ago

Seems to be about right. :)

seerge commented 1 month ago

@leftedz reason I asked if you binded M1 / M2 to something is cause i see following in the log

24.10.2024 1:04:47: VolumeDown None
24.10.2024 1:04:47: Launching "C:\Windows\system32\cmd.exe" /C  0x01

It means that M1 (that emits VolumeDown) was mapped to some custom action (0x01) which is left mouse button i think ? So G-Helper would intercept VolumeDown in this case and emit something else.

If you would set M1 to perform default action (Volume Down) G-Helper won't intercept it at all, and let it do it's thing on hardware level

leftedz commented 1 month ago

Yes, i did map volumedown as left mouse button just to try "custom" feature and see how it gonna impact CSGO. But i discovered issue before i custom mapped it. The thing in CS was happening while M1 button was mapped as "Volume Down" in G-Helper.

seerge commented 1 month ago

@leftedz ok, clear.

Then if default Volume Down (or Up) are interpreted by CSGO internal binding as as C or D i assume that's something specific to the game itself :)

leftedz commented 1 month ago

Thank you for quick assistance and for your wonderful app!