SNES Input Add-on: randomly direction is not registered until another button is pressed / direction activated without being pressed
Prerequisites
Please check the following before posting an issue / bug report.
- [X] I am running the latest version of the firmware found HERE
- [X] I have checked the documentation HERE and found no answer
- [X] I checked to make sure that this issue has not already been filed HERE
- [X] I am reporting the issue to the correct repository
Context
Please provide all relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Firmware Version: 0.7.4 (happened also on 0.7.3)
- Is this a custom build?: yes
- System: MiSTer SNES Core (xinput)
- Two different Super Famicom pads were tested
Expected Behavior
Registering directional input when holding the dpad. Not registering directional input when dpad is released.
Current Behavior
Sometimes the direction is not registered while holding the dpad. (E.g. right) When an additional button is pressed then the direction will be registered properly.
Also sometimes mostly right and sometimes left is activated even though it is not pressed/was pressed very shortly and then released.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- Use this configuration. (Setting regular pins to -1 is optional, it happens either way)
#define SNES_PAD_ENABLED 1
#define SNES_PAD_DATA_PIN 22
#define SNES_PAD_LATCH_PIN 26
#define SNES_PAD_CLOCK_PIN 27
- Play a while on e.g. the MiSTer SNES Core
- preferably some mario romhack where a lot of button presses are required
It looks like the issue comes up when the controller is connected for a while. Like 20 to 30 minutes.