Any generic USB controller should work BUT it has to use the analog joystick axis for movement and not the digital directions (used for the "POV hat" in some joysticks). You can check which one it uses by looking at pad properties in Windows.
Several digital joypads map to analog joystick axis, such as the Buffalo SNES pad replica (my favorite for the MiST) or the various RetroLink replicas of consoles controllers (Atari, NES, etc).
With the updated USB HID handling that i introduced for the Archie mouse POV hat support is actually the next thing. Initially I plan to have a global option in mist.ini named "usb_joystick_prefer_hat" which (if set to 1) will cause the parser to prefer the hat over the normal axes. This should help with several gamepads.
Edit: This feature has now been implemented and the option to disable the hat usage is: joystick_ignore_hat=1
Last edited by MasterOfGizmo on Mon Jun 08, 2015 7:00 am, edited 1 time in total.
I have that controller, it would be nice to map start and select for it. In principle it could be done in firmware if the USB HID parser grabs all buttons (which I think it does). It's something I wanted to toy with for some time but didn't have time to sort out the firmware compilation on Windows yet.
hello, I've installed the latest firmware (150605), and it seems it's not possible to select to use the hat or the stick, it's always the hat (in the previous firmware, 150417 I think, it was the stick). Adding usb_joystick_prefer_hat=1 or usb_joystick_prefer_hat=0 in a mist.ini file doesn't change anything, it's always the hat
I think I prefer the stick, but it's still better to have the choice. Also, being able to change the option from the OSD would be the best (but maybe it's not possible at the moment)
ah! I MiST the [mist] part. I couldn't find any mist.ini sample file so I didn't know how to write the option (I don't know if there are many other cool options for it). I'll try again this evening, I'm sure it'll work this time.
thank you for the doc, it'll be useful for future users I'm sure!
So I've used the correct syntax, and now the stick is working again!
(tips: maybe a mode with both input at the same time, if possible, would be useful, it would prevent to remove the sd card and modify it from a computer when you want for example to use the NES core, and later the Atari St core...)
Yes, that's actually not that hard to implement. I'll add that once I finish my current project (support for rs232 over a RS232/USB cable to allow to use old rs232 peripherals with the mist under Atari ST core).
It's called like that because on analog joysticks for flight sims there is a "POV hat" that is essentially a mini digital joystick.
USB HID assumes that all controllers are joysticks and expects an X and Y (analog) axis value for directions. It then expects a series of buttons, and optionally it allows representing a POV hat as a separate structure. Digital gamepads / joysticks usually map themselves to analog X/Y axis (giving a fixed value). But a few controllers like the Qanba do not use analog at all, and instead map directions to the POV hat.
The feature that Till added allowed these devices to work with the MiST, but originally the override was total (i.e. the analog stick was ignored). I just tweaked it a bit so that both inputs work together, allowing you to use either if a controller has both.