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

arrow keys not working on latest release #23

Open
kax888 opened this issue Oct 5, 2022 · 9 comments
Open

arrow keys not working on latest release #23

kax888 opened this issue Oct 5, 2022 · 9 comments

Comments

@kax888
Copy link

kax888 commented Oct 5, 2022

on default configs, Arrows does not work with at least Hollow Knight, haven't tried other games.
i rebound my in game directions to WASD and then put SOCD on WASD and it worked, binding in game to arrows and selecting Arrows does not work.
I downloaded the previous version, and Arrows work as intended on that version.

I personally dont care that i have to use a slightly older version, but figured you would probably like to know that's a problem with the latest build.

@valignatev
Copy link
Owner

Hey thanks for letting me know! I'll be able to check it in a week or so

@valignatev
Copy link
Owner

I I'm finally back home and checked arrows on latest release. At least in Hollow Knight they work for me. Could you please provide more info about your setup? Show generated config when selecting arrows. The config is called socd_v008.conf for the current version

@deesoff
Copy link

deesoff commented Nov 15, 2022

i'm not the person who opened this initially but i've been having the exact same issue. my config when selecting arrows is:

25
27
26
28
45
0

i'm also using a razer keyboard with razer synapse 3 as drivers if that matters.

@valignatev
Copy link
Owner

valignatev commented Dec 26, 2022

I had another similar report on discord, and the person has windows 11. Do any of you who has arrows not working try it on use it on win11 by any chance? And another, maybe silly question - do you have a desktop with a separate keyboard or laptop? If laptop - what model?

Just dropping here setups that people have told me they have for whom v008 with scancodes doesn't work with arrow keys:

  • windows 11 on IdeaPad Gaming 3 15ARH05
  • windows 10 on asus rog gl502vs

Maybe I'll have to support both scancodes and old mode of simulating key presses

@deesoff
Copy link

deesoff commented Dec 27, 2022

i'm on windows 10 with a separate keyboard although i could also try it on my laptop. exact specs for my desktop are an rog strix z370-f gaming motherboard, an i3-8100 cpu, and a gtx 1060 6gb gpu (and a 144hz 1080p monitor).

@TheRealAlph4
Copy link

I have the same issue, it seems to me like the problem is that the program tries to press the left/right buttons on the numpad, which only works with NumLock off. When NumLock is on, it writes 4's and 6's instead of changing the direction.

@TheRealAlph4
Copy link

TheRealAlph4 commented Jun 8, 2024

Specifically for games that accept virtual key codes, not translating to scancodes solves this issue, see my fork as a temporary fix until a better solution is implemented. Alternatively, a release earlier than 0.0.8 can be used, but those don't have the ESC functionality.

@AtreyuATR
Copy link

Specifically for games that accept virtual key codes, not translating to scancodes solves this issue, see my fork as a temporary fix until a better solution is implemented. Alternatively, a release earlier than 0.0.8 can be used, but those don't have the ESC functionality.

Thank you so much for this fork! saved me!

@valignatev
Copy link
Owner

Ugh yeah thanks for that. It seems like the fucked numpad state depends on the default firmware behavior of a particular keyboard. I recently bought a new keyboard and now I can repro the issue with scancodes myself. I'll fix it in the new version of the program I'm writing, meanwhile either use @TheRealAlph4's fork or my previous version from releases tab (it was doing virtual keycodes). I've changed it because some games don't listen to virtual codes (source games, for example), but yeah. Keyboard firmwares suck :(

@valignatev valignatev pinned this issue Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants