SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion > Bug Reports

Reply
 
Thread Tools Search this Thread
Old 09-10-2017   #1
Zwip-Zwap Zapony
Please just call me Zappy.
 
Zwip-Zwap Zapony's Avatar
Default Controller Input Gets Ignored Sometimes

Sometimes, when a controller/gamepad/joystick button (or even axis) is changed (from being pressed or de-pressed), the result might not happen in SRB2. This can range from pressing jump not making you jump (while letting you jump the next time) to letting go of spin not making you stop flying downwards as Tails (while repeatedly hitting the jump button, and then flying up after pressing and letting go of spin again and continuing to press jump) to the camera not stopping moving when returning an analog stick to the center (until the analog stick is moved a bit and then put back to the center).


This doesn't happen to me in stuff like PCSX2 (a PlayStation 2 emulator), Sonic Mania, nor other things, leading me to believe this either happens during the conversion from X-Input to D-Input (which I see as unlikely, but as the other things support X-Input, it's possible) or when SRB2 tries to pick up on controller "events" (and may fail to do so sometimes, which is what I think happens here).


If I run forwards and try to jump off a cliff and then end up just falling, sure, that could be explained as normal, simple input lag... but it even happens when I stand completely still, while other button presses and de-presses work just fine, and I don't see how that could be as a result of input lag.


Unfortunately, there's not really any specific circumstance this happens in. My only wild guess would be that it could happen if I press a button at a 60th of a second that's "between" frames in SRB2's 35 frames per second... but that would leave around a 42% chance of it not working (I think), and I'd say it's "only" between every 10th and every 50th button press (10%-2%) that it gets ignored. It may not happen "a lot" (though today has been especially troublesome about it), but it definitely still happens, and it happening at all is too much.


Note: I am using a custom-compiled version of SRB2, and I can't seem to replicate the issue in the official SRB2 within 5 minutes... but then again, I couldn't replicate it in my custom-compiled version within 5 minutes, either. It doesn't seem to happen when I want it, but I'm pretty sure I also experienced the issue in the past with official versions of SRB2. I run SDL versions of SRB2, not DirectDraw versions, by the way.


Considering this isn't easily nor reliably reproducable on purpose, I'm aware it might be near-impossible to debug, but it's still good to have the issue be known in the first place.


Edit: Oh, and I believe this doesn't happen when I play using a keyboard and/or mouse, though I don't often play like that.

Last edited by Zwip-Zwap Zapony; 09-10-2017 at 07:12 PM.
Zwip-Zwap Zapony is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.