MiSTer-devel / Arcade-Atari-system1_MiSTer

Atari System-1
GNU General Public License v3.0
1 stars 1 forks source link

Control inputs partially not working #1

Closed fiermanb closed 6 months ago

fiermanb commented 7 months ago

For Road Runner (and possibly others too), inputs Up and Down are not registering in-game. Rebinding does not make any difference.

d18c7db commented 7 months ago

I can't help you much with such little info. What input? Are you using a keyboard? A joystick? I tested with a 8BitDo USB connected joystik and all works well with the published core. My guess is you need to go into sys menu and do something with the input mapping up to and including resetting it back to defaults. I'm fairly sure this isn't a game core issue.

d18c7db commented 7 months ago

On further thought, the way you worded the issue specifically singling out the up/down implies in my mind that the left/right works OK but I should not assume anything unless explicitly stated.

Are the left/right controls working in the Roadrunner game? Are you trying to use a keyboard (won't work for Roadrunner)? Are you using a digital style joystick or analog?

fiermanb commented 6 months ago

Are the left/right controls working in the Roadrunner game? -> yes

Are you trying to use a keyboard (won't work for Roadrunner)? -> no.

Are you using a digital style joystick or analog? -> both digital and analog (daemonbite usb with atari joystick, ps5 usb controller and some others) - for none of these up and down are registering. (they are otherwise working fine always)

d18c7db commented 6 months ago

The fact that left/right works in the game is promising, it means that some of the controls are making it from the controller to the core. I'm still inclined to think it's a joystick mapping issue, there is nothing inside the game core that would prevent it from taking action of up/down if these signals were properly forwarded from the controller to the core.

On the MiSTer on screen main menu there is a Utiltiy folder. Do you have the InputTest utility in there? If so run it and then hold "select" down and switch to analog joystick mode then test the controls and verify that they all work in all directions.

fiermanb commented 6 months ago

Like I said, there really is nothing wrong with the physical controllers or the MiSTer setup at all. The fact that rebinding is possible in the game menu proves that. As I stated in my first post.

d18c7db commented 6 months ago

I'm trying to help you out here as best as I can or I can also take the stance that "my controller and other's works fine in this core" and leave you to it.

You are aware that it is possible to have custom binding of your controller _pergame so the fact your controller works everywhere else means nothing with respect to the problem you experience in this particular core.

If you look in the MiSTer folder /media/fat/config/inputs check if there are any files called roadrunn_input.map and if so then delete those bastards, reboot MiSTer and try again.

fiermanb commented 6 months ago

As I stated in the first post, I did try to rebind the controls for the game. Of course we are talking the Core/game specific rebinds here. (Define roadrunn buttons) The rebind dialogue works fine with the joystick, as in: up and down are mapped as valid input. - which means that the MiSTer framework is running as expected.

In game however, Up and Down are not registering. I would like to point out that I am not the only person with this issue. We can safely rule out user error here. (and yes, I did manually delete the input mapping files prior)

md5: a55212ebcb3a12cd7e91129ce3b08f22 atarisys1_20231130.rbf

d18c7db commented 6 months ago

I think there is a test you can do that will definitively show where the problem is, if you are willing to spend 10 minutes.

Backup and then delete all mappings in /media/fat/config/inputs so the folder is empty Reboot MiSTer Run the Utility "InputTest" Press and hold Select until the menu pops up and select "Analog" Ensure that "PAD 1" is shown at the top between "ANALOG LEFT" and "ANALOG RIGHT" else select PAD1 with A/B keys Mush around all the controls on your controller and figure out which ones move the ANALOG LEFT cross up down left right

After having done the above without any key remapping in place run the problematic core and use the same keys that moved the cross up/down/left/right and see if they work inside the core.

fiermanb commented 6 months ago

Ran through everything, and the result is the same. Just to rule out an issue with my MiSTer setup, I did the same on a second MiSTer setup that I own, and it does not make any difference. And yes, the analogue stick of any controller works fine. D-pad does not however. Digital inputs seem to be broken on the core end. Really - this is not a user-error case here.

d18c7db commented 6 months ago

Road Runners only responds to analog joystick by design. User is mixing analog controls for left/right with digital controls for up/down. This has nothing to do with remapping controls. Will implement digital controls in a future release.