Home | Forums | What's new | Resources | |
Advice on controller input |
slinga - Aug 18, 2003 |
antime | Aug 18, 2003 | |||
Your problem may be you're simply just pollling the pads too rapidly. If you want to check for two consecutive "start" presses, check that "start" is NOT pressed inbetween. |
vreuzon | Aug 22, 2003 | ||||
I found much more simple : use Smpc_Peripheral->push
Code:
|
RockinB | Aug 23, 2003 | |||
Yes, I would also advice to use the push data. But you have to take care of nested function calls that use that pad data. This can cause the user flipping through menus with one button press! The thing is that it seems like the pad data keeps constant till the next slSynch(); is done. In my project, I inserted a waitRelease() at the top of every function that looks at controller input. Another thing: for 2 player games, the pad data for second player is Smpc_Peripheral[15].data . And lastly: on my japanese model 1 Saturn, the peripheral check fails!!! For some unknown reason, the variable Per_Connect1 is not 1 for any controller I got!? The game works very well on the european Saturn.... . OK, bye then. The Rockin'-B |