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

Can't set custom hotkeys to F13 (0x7C) #2059

Closed
2 tasks done
cakiya opened this issue Feb 13, 2024 · 4 comments
Closed
2 tasks done

Can't set custom hotkeys to F13 (0x7C) #2059

cakiya opened this issue Feb 13, 2024 · 4 comments
Labels
question Further information is requested

Comments

@cakiya
Copy link

cakiya commented Feb 13, 2024

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?

I'm trying to rebind M3 or Fn+C to F13 (0x7C according to https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes) but it doesn't work. The log seems to indicate that my M3 and Fn+C keys are working, it's just not sending any F13s.

I also tried rebinding one of my mouse buttons to F13 (i have a logitech g304) and it seems to work perfectly, discord detects f13 and it works all fine.

How to reproduce the bug?

  1. Go to "Extra" under "Laptop Keyboard"
  2. Under "Key Bindings", change whichever key you want to "Custom", and input the value "0x7C" (this is F13)
  3. Go to discord and try to make a new keybind by recording the keystroke or whatever key tester and see that it doesn't send F13 when you press the key
    3.1. Rebind your gamer mouse to F13 and watch it input F13 instantly

Logs

log.txt

Device and Model

ROG Zephyrus G14 GA402XV (it's the 2023 4060)

Additional information.

image
image

Armoury Crate

Uninstalled

Asus Services

0

Version

0.151.0

OS

Windows 11 22H2

@seerge
Copy link
Owner

seerge commented Feb 13, 2024

@cakiya hello, it could be that windows is refusing to emit that (cause it's just windows API) or may be discord listens to the keys in some non-traditional way.

Try to run app as admin (mb it will help) or try to set different hotkey (or just key combination) in discord / bind it in app?

@seerge seerge added the question Further information is requested label Feb 13, 2024
@seerge
Copy link
Owner

seerge commented Feb 13, 2024

@cakiya ok, I have intentionally installed desktop Discord app, checked how it records "keybindings". It could be cause G-Helper would emit key press, but not key "unpress" after it. While Discord needs it.

Try this build that would do both press / unpress with 1ms delay in-between.

GHelper.zip

@seerge seerge closed this as completed in 5f6afc0 Feb 13, 2024
@cakiya
Copy link
Author

cakiya commented Feb 13, 2024

@cakiya ok, I have intentionally installed desktop Discord app, checked how it records "keybindings". It could be cause G-Helper would emit key press, but not key "unpress" after it. While Discord needs it.

Try this build that would do both press / unpress with 1ms delay in-between.

GHelper.zip

this works, thank you!
(for the fix and also for making this piece of software ^-^)

@seerge
Copy link
Owner

seerge commented Feb 13, 2024

@cakiya great, I will include this fix in next release.

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