Menu

#98 Joystick menu control issues

v1.0_(example)
open
nobody
None
1
2013-07-20
2013-07-20
Palamedes
No

I have two joysticks - one of them I haven't yet managed to get to work reliably with the menus at all. But the other one works reliably in versions up to 1.07, but behaves erratically in versions 1.08 or 1.09. I suspect this might be a side-effect of the fix for bug 96.

The joystick that works in versions up to 1.07 has an analog mode, and a digital mode. In analog mode, the left stick acts as a pair of axes, and the d-pad acts as a hat - but in digital mode, it's the other way round. Trying to play the game in analog mode using the stick is too difficult, but it's fine using the d-pad in digital mode - or, at least it was, up to version 1.07.

Unless I'm much mistaken, axis control is implemented in the game, but hat control is not. If axis control is going to be reliable in this kind of game, then the input handling routines need to be able to deal with things like dead zone, bounce, wobble and drift - but those complications don't exist with hat control. So I think it would be a good idea to implement hat control.

I'll try to implement hat control myself - and if it fixes this problem, I'll post the code.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB