Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom keybind isnt working? #2430

Closed
2 tasks done
wyascorn opened this issue Apr 13, 2024 · 6 comments
Closed
2 tasks done

Custom keybind isnt working? #2430

wyascorn opened this issue Apr 13, 2024 · 6 comments
Labels
question Further information is requested

Comments

@wyascorn
Copy link

Rules

  • I made myself familiar with the Readme, FAQ and Troubleshooting.
  • I understand that, if insufficient information or no app logs will be provided, my issue will be closed without an answer.

What's wrong?

So basically I want to set my m4 button to imiate the mouse middle button click. I tried putting in both the Constant and the keycode for it fromhttps://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes. It simply just doesn't work.

How to reproduce the bug?

image

Logs

log.txt

Device and Model

ROG Zephyrus G15 GA503RM

Additional information.

No response

Armoury Crate

Uninstalled

Asus Services

None

Version

0.165

OS

W11 22H2

@wyascorn
Copy link
Author

Also do you have like a discord server related to ghelper

@wyascorn wyascorn closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2024
@wyascorn wyascorn reopened this Apr 13, 2024
@seerge
Copy link
Owner

seerge commented Apr 13, 2024

@wyascorn hello, i have checked. And apparently that windows API that app is using is working only for keys, not mouse events.
You can try to use Autohotkey or similar app to emit that tho.

What is the practical purpose of emitting mouse clicks ?

@seerge seerge added the question Further information is requested label Apr 13, 2024
@wyascorn
Copy link
Author

Uhh I smashed my dpi button on my mouse so I have to use the software to change it I was hoping I could change the m4 on keyboard to my middle button and change the actual middle button on my mouse to the dpi switch

Middle Mouse Button -> DPI Toggle
M4 On keyboard -> Middle Mouse Button

seerge added a commit that referenced this issue Apr 14, 2024
@seerge
Copy link
Owner

seerge commented Apr 14, 2024

@wyascorn try this build, it should support Left (0x01), Right (0x02) and Middle (0x04) mouse button clicks from Custom

GHelper.zip

@wyascorn
Copy link
Author

Thank you it works

@seerge
Copy link
Owner

seerge commented Apr 14, 2024

@wyascorn great

@seerge seerge closed this as completed Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants