Compatible USB gamepad or joystick for MiST

https://github.com/mist-devel/mist-board/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

User avatar
Fenio
Atari freak
Atari freak
Posts: 56
Joined: Wed Apr 01, 2015 7:43 pm
Location: Poland

Compatible USB gamepad or joystick for MiST

Postby Fenio » Sat May 02, 2015 8:35 pm

Heloo

I purchased Genius Gamepad but not work witch MiST :-(
Image
What other cheap USB gamepad or joystick would you recommend to 100% smooth functioning ?
Maybe something from the list below (Allegro - polish counterpart to eBay) ?
http://allegro.pl/urzadzenia-wskazujace ... rice_to=25

Thanks for the help :cheers:

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Sat May 02, 2015 9:34 pm

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).

Alessio
Retro freak
Retro freak
Posts: 12
Joined: Tue Apr 28, 2015 5:24 pm
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby Alessio » Sat May 02, 2015 9:35 pm

Not on your list unfortunately - Logitech Wingman Action Pad (2002-3) works for me.

SLiX
Atariator
Atariator
Posts: 17
Joined: Sat Apr 12, 2014 8:34 pm

Re: Compatible USB gamepad or joystick for MiST

Postby SLiX » Sat May 02, 2015 11:33 pm

I use a Saitek P220 which works flawlessly, but this is also an old joypad.

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1026
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby MasterOfGizmo » Sun May 03, 2015 7:59 am

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.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Mon May 04, 2015 6:39 am

Great! Can't wait to try my arcade sticks with the MiST!

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Mon May 25, 2015 4:13 pm

A new beta firmware is available that adds support for the "POV hat" some controllers use instead of the analog joystick.

Thanks to it I can finally plug my Qanba Q4RAF arcade stick to the MiST and play games with a massive controller :mrgreen:

Image

johey
Atarian
Atarian
Posts: 8
Joined: Fri Jun 05, 2015 7:24 am

Re: Compatible USB gamepad or joystick for MiST

Postby johey » Fri Jun 05, 2015 7:47 am

I have the iBuffalo SNES control replicas. Works great with the MiST. However, I would really like to remap the buttons. Is there a way I can do that?

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Fri Jun 05, 2015 1:18 pm

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.

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Sat Jun 06, 2015 8:31 am

Managed to get it working. I've mapped start and select properly, instead of X and Y. Its not remappable (i.e. it's baked in the firmware) but at least its much nicer to play NES games with this pad.

I'll try a few more tweaks (maybe map X and Y as reverse A and B) then commit it to the repository for others to try.

johey
Atarian
Atarian
Posts: 8
Joined: Fri Jun 05, 2015 7:24 am

Re: Compatible USB gamepad or joystick for MiST

Postby johey » Sat Jun 06, 2015 9:49 pm

Very nice work! Beside start and select it would be nice to have Y->B and B->A for the most authentic positional mapping of a NES pad. Anyway I might be able to take a look at the source as well.

User avatar
farvardin
Captain Atari
Captain Atari
Posts: 348
Joined: Fri Jan 01, 2010 5:50 pm
Location: France
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby farvardin » Sun Jun 07, 2015 6:41 pm

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)

I'm using a ps3 controller.

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1026
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby MasterOfGizmo » Mon Jun 08, 2015 6:59 am

Please try:

joystick_ignore_hat=1
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

User avatar
farvardin
Captain Atari
Captain Atari
Posts: 348
Joined: Fri Jan 01, 2010 5:50 pm
Location: France
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby farvardin » Mon Jun 08, 2015 10:34 pm

it's the same.

I've tried:

joystick_ignore_hat=1

and

usb_joystick_ignore_hat=1

I guess the mist.ini has to be at the root of the sd card...

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Mon Jun 08, 2015 11:50 pm

Yes it goes in the root, and make sure the last line is a blank space otherwise it won't recognize the setting.
Here's mine:

Code: Select all

[mist]
scandoubler_disable=0


User avatar
farvardin
Captain Atari
Captain Atari
Posts: 348
Joined: Fri Jan 01, 2010 5:50 pm
Location: France
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby farvardin » Tue Jun 09, 2015 11:37 am

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.

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Tue Jun 09, 2015 12:38 pm

Started this, I'll flesh it out later:
https://code.google.com/p/mist-board/wiki/DocIni

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Tue Jun 09, 2015 3:10 pm

@johey : try this firmware:
https://mist-board.googlecode.com/svn/t ... _r1115.upg

I've mapped a few controllers that I own:

I'm still working on my Arcade stick... but it would be next: http://i.imgur.com/q8WLLWA.jpg

On the first and third one I've made X to also act as B so thay they can be held in two positions (B-A or X-A). The Famicon pad doesn't need it since the button layout is flat.

User avatar
farvardin
Captain Atari
Captain Atari
Posts: 348
Joined: Fri Jan 01, 2010 5:50 pm
Location: France
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby farvardin » Tue Jun 09, 2015 7:02 pm

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...)

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1026
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby MasterOfGizmo » Thu Jun 11, 2015 2:10 pm

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).
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Fri Jun 12, 2015 1:34 am

I can have a look at that; I'll make hat override the analog stick only when it is pressed. Will try to get a beta firmware done this weekend.

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1026
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: Compatible USB gamepad or joystick for MiST

Postby MasterOfGizmo » Fri Jun 12, 2015 1:38 pm

Newsdee wrote:I can have a look at that; I'll make hat override the analog stick only when it is pressed. Will try to get a beta firmware done this weekend.


Sounds great. Let me know if you need help ...
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Fri Jun 12, 2015 4:21 pm

That went much better than expected :D
Try this new firmware: http://mist-board.googlecode.com/svn/tr ... _r1137.upg

Changes:
  • Now the joystick hat will only override if pressed
  • Much better mappings for Qanba Q4RAF arcade joystick

NML32
Captain Atari
Captain Atari
Posts: 347
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: Compatible USB gamepad or joystick for MiST

Postby NML32 » Fri Jun 12, 2015 4:38 pm

Changes:
Now the joystick hat will only override if pressed
Much better mappings for Qanba Q4RAF arcade joystick

Sorry, I a little embarrassed :oops: what is the "hat" stuff that everyone talks about?

Thanks,
Mark

User avatar
Newsdee
Atari Super Hero
Atari Super Hero
Posts: 992
Joined: Fri Sep 19, 2014 8:40 am

Re: Compatible USB gamepad or joystick for MiST

Postby Newsdee » Fri Jun 12, 2015 9:35 pm

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.


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 2 guests