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

Gamepad direction becomes unresponsive when button is pressed + fast directional input is done #39

Open
vanfanel opened this issue Jan 7, 2022 · 3 comments

Comments

@vanfanel
Copy link
Contributor

vanfanel commented Jan 7, 2022

Hi again,

I found out that gamepad/joystick input shows some problems with this core.
I am using a wired XB360 gamepad here, and this behaviour only seems to affect dosbox-core.

Keeping one joystick button pressed, while rapidly move left or right using the gamepad, causes the right direction to stop responding eventually. That affects gameplay on games such as SuperFrog or Jazz JackRabbit, where fast jumping+directional action is needed.

For example, in SuperFrog, look for an area without enemies and keep the jump button pressed while moving left and right very fast: you will eventually see one of the directions does not respond.

I have tried playing with the "Force 2 axis/2 button" and "Enable joystick timed intervals" options, but they don't make any difference.

Thanks!

@vanfanel vanfanel changed the title Gamepad direction becomes unresponsive when button is pressed + fast input is done Gamepad direction becomes unresponsive when button is pressed + fast directional input is done Jan 7, 2022
@realnc
Copy link
Owner

realnc commented Jan 19, 2022

Hm. I can reproduce this. It's fixed if you use "Joystick" rather than "Gamepad" as input type, and then configure your controller's dpad to map to the DOS left Y axis like this:

image

I tried to reproduce this in vanilla dosbox, but I don't even know how to configure dosbox to use digital input rather than analog :P

Another workaround is to not use joystick input at all in the game and instead map your controller to DOS keyboard buttons. In any event, this issue needs investigating.

@andres-asm
Copy link
Collaborator

andres-asm commented Jan 19, 2022 via email

@vanfanel
Copy link
Contributor Author

that's because there is no such thing, I just hacked it

@fr500 What do you mean exactly, please? I hadn't seen your answer until now.

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

3 participants