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

Axis Inputs randomly getting stuck #173

Open
onaho opened this issue May 16, 2020 · 8 comments
Open

Axis Inputs randomly getting stuck #173

onaho opened this issue May 16, 2020 · 8 comments

Comments

@onaho
Copy link

onaho commented May 16, 2020

I'm using interception to emulate an xbox controller with my keyboard. However, while it works perfectly 99% of the time, there's random occurrences where one of the axis inputs gets stuck and will stay stuck indefinitely until another, or several, input(s) is/are pressed. Sometimes just one input can get the input unstuck, but sometimes it's stubborn and requires more than 5 or so key presses to get unstuck. This seems to happen about once every 10 minutes or so. I've confirmed that the problem was not the game as I quit the game when this problem occurred and when right-clicking the ucr icon in the taskbar, the options were being highlighted in a downward fashion (like if you held the down arrow key) without having any keys pressed. It could be a problem with inception or vigem, but I have no idea.
image

I checked the logs but found no errors.

@EkajArmstro
Copy link

Possibly related to #148

@Snoothy
Copy link
Owner

Snoothy commented May 17, 2020

Which devices are you using and how are you mapping the axis?

@onaho
Copy link
Author

onaho commented May 17, 2020

image

Here's my context.xml (changed to txt so I could upload to github).
context.txt

Also, I noticed that this is happening much more frequently than every 10 minutes. It seems to happen most often when you hold a button down or rapidly press it. Also, I think I noticed it once with a button instead of an axis (because I have to hold down the numpad + button in the game). So it seems to be an issue that can happen to any button that is pressed rapidly or being held down.

@Stopfield
Copy link

I also have this problem. I have a directinput controller (a generic), and I need to emulate another one with XInput. The Axis are stuck or become stuck, I really can't say.

@onaho
Copy link
Author

onaho commented May 23, 2020

image
Yeah this is definitely not just the game. The picture above shows the left stick being held down to the right, but I'm not even pressing any keys. UCR keeps getting inputs stuck that have been held down or rapidly pressed. Sometimes I feel like inputs are getting stuck that I haven't even pressed (still not sure about this). I really hope this can get fixed because there is no better alternative than UCR.

@MichaelSasser
Copy link

I have the same problem with a ps4 controller but it only works 20% of the time. I merged L2 and R2 into one axis with UCR 0.9-alpha.
UCR Screenshot

@phasermaniac83
Copy link

phasermaniac83 commented Jun 15, 2021

Same problem here using ps2 dualshocks. If I remap to xbox pads I get this issue.
Mainly I notice with directions, but happens with buttons too.
It doesn't happen if I remap to keyboard keys.
Any new about this?

@wamphlett
Copy link

I also have this issue. I am mapping a Ultimarc IPAC (essentially a keyboard) to an Xbox controller. Both player 1 and 2 dpad inputs get stuck quite frequently, usually following fast inputs and the only way to release it is to push the same direction button again i.e. if "up" is stuck, only pushing "up" again will unstick the input.

I have tested on multiple games and multiple controller testers, all behave in the same way. Sounds like its the same bug as #240 and #148

@Snoothy do you have any thoughts on this or any tips on how to debug it further, Id be happy to dive in and look.

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

7 participants