MiST - new joystick/gamepad mapping

Area for discussing ST(E) clones

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

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Sun Jun 19, 2016 12:42 pm

mahen wrote:The issue is that it supports 2 players and is theorically detected as 2 gamepads on the computer (?) while there is only 1 usb plug ? What do you think ?


Assuming it uses regular HID (i.e no special driver) it would show up as a "multiple top level collection" device; in this case the MiST recognizes only the first one.

This is how the Retro Freak USB adapter is recognized - right now only the first (NES) adapter will work but in theory it could be extended to use all of them at the same time (or switch between them at least). I'm not familiar enough with USB HID to make this change though, at least right now...

mahen
Captain Atari
Captain Atari
Posts: 189
Joined: Mon Aug 26, 2013 3:11 pm
Location: France

Re: MiST - new joystick/gamepad mapping

Postby mahen » Sat Jun 25, 2016 11:45 pm

Hi ! I made the following mist.ini but get a very strange behaviour :

[mist]
joy_key_map=400,E1
joy_key_map=800,E5
joy_key_map=4000,2C
joy_key_map=8000,28

For instance, when hitting my L or R button, the key is indeed hit, however, it's as if it was hit then released then hit again several times in a row.
Any idea ?!
Cheers !
Last edited by mahen on Sun Jun 26, 2016 12:23 am, edited 1 time in total.
Amiga user since 1993 ;-)

mahen
Captain Atari
Captain Atari
Posts: 189
Joined: Mon Aug 26, 2013 3:11 pm
Location: France

Re: MiST - new joystick/gamepad mapping

Postby mahen » Sat Jun 25, 2016 11:51 pm

Actually for some reason the keypresses are sent multiple times, very quickly. It appears also when hitting SELECT+START (the OSD appears / disappears extremely quickly many times in a row).

Buttons (not mapped to the kbd) work properly though (directions / A / B...).

Really cool features. Love them :) And I do not need a Windows PC, pfew, thanks to the new update :)
Amiga user since 1993 ;-)

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Sun Jun 26, 2016 5:46 am

Yes, I noticed that and I'm looking into it. I should make the OSD fully controlled by the gamepad instead of the current trick of mapping to keys.

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Sun Jun 26, 2016 3:32 pm

For now, it looks like having only one USB gamepad connected avoids the problem.

mahen
Captain Atari
Captain Atari
Posts: 189
Joined: Mon Aug 26, 2013 3:11 pm
Location: France

Re: MiST - new joystick/gamepad mapping

Postby mahen » Sun Jun 26, 2016 4:52 pm

Ah yes, indeed, I use two arcade -> usb adapters. For some stupid wire-length issues, left flip of my cabinet is connected to the 1st player and right flip to the 2nd one :) I'll wait, no problem, thanks for your reply :)
Amiga user since 1993 ;-)

mahen
Captain Atari
Captain Atari
Posts: 189
Joined: Mon Aug 26, 2013 3:11 pm
Location: France

Re: MiST - new joystick/gamepad mapping

Postby mahen » Tue Jul 19, 2016 10:18 pm

BTW it seems you disabled all keys -> buttons mappings in the latest firmware even if only one controller is connected ?
Wanted to show people this feature at an Amiga party this weekend ;-). Oh, I can just downgrade the firmware :)
Amiga user since 1993 ;-)

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Wed Jul 20, 2016 12:39 am

Specifically which mapping isn't working? I've had to revert some recent changes beause they interfered with the Amiga Load Config functionality, but mapping was supposed to remain.

mahen
Captain Atari
Captain Atari
Posts: 189
Joined: Mon Aug 26, 2013 3:11 pm
Location: France

Re: MiST - new joystick/gamepad mapping

Postby mahen » Wed Jul 20, 2016 5:11 am

Hi !

So, with firmware 160626, using the following mist.ini :

[mist]
joystick_remap=16c0,05e1,1,2,4,8,10,8,20,10,40,80,400,800,1000,2000,4000,8000
joy_key_map=400,E1
joy_key_map=800,E5
joy_key_map=4000,2C
joy_key_map=8000,28

The gamepad buttons which used to send "space" and "enter" don't do anything anymore -- those are the ones that were also remapped as SELECT/START : the OSD menu shortcut still works. (actually, they used to send several "spaces" and several "enters" in a row, when both controllers were connected).

The shift key binding seems to work but acts strangely (doesn't work all the time or remains stuck, also if I hit a letter key at the same time, in a terminal, it can send indefinitely the same letter unless I do something to stop it).

The OSD menu shortcut and shift bindings also do not work properly with 2 controllers attached but that's a known issue :)

Cheers !
Amiga user since 1993 ;-)

Tempus01
Retro freak
Retro freak
Posts: 16
Joined: Sun Jan 18, 2015 10:46 am

Re: MiST - new joystick/gamepad mapping

Postby Tempus01 » Tue Aug 02, 2016 12:48 pm

Hi,
Is it possible to remap this controller?
WII classic controller Adaptateur VID / PID codes 1D79-0301
Four directions
Top = 13, Left = 14, Down=15, Right = 16
Other gamepad buttons
Y=4, X=1, B=3, A=2, Select=9, Start=10, L=7, R=8
Thank you.

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Tue Aug 02, 2016 1:19 pm

Have you tried mapping with the MIST.INI file?

Tempus01
Retro freak
Retro freak
Posts: 16
Joined: Sun Jan 18, 2015 10:46 am

Re: MiST - new joystick/gamepad mapping

Postby Tempus01 » Tue Aug 02, 2016 4:18 pm

I have several remap gamepad.
I will wish to remap the four directions 13,14,15,16. I do not know how to do.
Thank you.

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Tue Aug 02, 2016 10:30 pm

Tempus01 wrote:I have several remap gamepad.
I will wish to remap the four directions 13,14,15,16. I do not know how to do.

You need to assign 1,2,4,8 to those buttons. For example ignoring all the other buttons: 0,0,0,0,0,0,0,0,0,0,0,0,1,2,4,8

Tempus01
Retro freak
Retro freak
Posts: 16
Joined: Sun Jan 18, 2015 10:46 am

Re: MiST - new joystick/gamepad mapping

Postby Tempus01 » Wed Aug 03, 2016 12:12 pm

It works it's great.
Thank you.

User avatar
DrOG
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: MiST - new joystick/gamepad mapping

Postby DrOG » Wed Jan 18, 2017 2:41 pm

Hi everyone!

I need some help. I used only "ancient" DB-9 joysticks so far. Now, as the Genesis alpha core became public, and the Genesis controller has at least 4 buttons (A, B, C and Start) beside the D-pad, I decided to use my Genius MaxFighter F-16U joystick as an USB controller. My main problem is that the 'right' and the 'down' direction does not work. The 'up' and 'left' directions work properly, and the four buttons also. Tried to remap the controller using the mist.ini, following this tutorial:
https://github.com/mist-devel/mist-board/wiki/USBJoystickMapping
but nothing changed. Even tried to set the 'joystick_ignore_hat=1' option, without effort.

Here is the content of my mist.ini:

Code: Select all

[mist]
scandoubler_disable=0          ; set to 1 to run supported cores in 15khz
mouse_boot_mode=0              ; set to 1 if a mouse does not work well
joystick_disable_shortcuts=1   ; set to 1 to remove joystick -> keyboard commands
joystick_ignore_hat=1          ; set to 1 if having issues on gamepads with 'POV hat'
joystick_ignore_osd=0          ; set to 1 to prevent gamepad from controlling OSD
joystick_remap=0458,301C,1,2,4,8,10,20,40,80,0,0,0,0

Am I doing something wrong, or is this joy simply incompatible with MIST?

Thanks in advance: Gábor

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Wed Jan 18, 2017 3:23 pm

In the joystick test menu, there is a display of what information is being read from USB. Does Right and Down appear pressed there?

User avatar
DrOG
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: MiST - new joystick/gamepad mapping

Postby DrOG » Thu Jan 19, 2017 5:12 am

No, they don't.

All other actions (left, up, A, B, Sta, Sel) appear here, but the right and down doesn't. The VID and PID numbers are the same as seen using the Win7's device manager.

Tried on Windows, everything is working fine. I can move the cross in every direction during calibration, as well the right and down works as expected. The joy is identified as a 3-axis, 4-button game controller (it has a throttle on the left), perhaps this is the problem?

Can anyone suggest me a certainly working mist compatible joy instead of it? It is important to have at least 4 buttons, and to be a stick instead of pad (I always hated flat gamepads, that's why used DB9 joys so far).

Regards: Gábor

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Thu Jan 19, 2017 11:26 pm

See if you get movement in a core that uses analog sticks like the apple II. The MiST maps analog to digital but it has to go beyond a certain threshold. In reality the deadzone could vary per stick and machines need to compensate.

Otherwise, the Speedlink Competition Pro USB works fine with the MiST. I modded mine by adding better microswitches as it felt a bit stiff. If you're willing to go for higher quality, the Qanba QRAF4 arcade stick works too. I'd expect any PS3 compatible arcade stick to work as well, as long as it connects.via USB. The Hori RAP sticks are good too.

User avatar
DrOG
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: MiST - new joystick/gamepad mapping

Postby DrOG » Fri Jan 20, 2017 5:38 am

Just tried it with Apple ][ core, the result is the same (missing 'right' and 'down' directions).

I own a Speedlink Competition Pro DB9-version already, and really like it (I've the impression during playing that it's indestructable).
Altought is has four different buttons, they all do the same, as in case of other DB9 joys. Are the USB verion's buttons differently handled, and mapped one-by-one? If yes, this will be the right choice for me...

Just searched all over the European webshops, and it's 'out of stock' everywhere... Cannot be so unlucky :shrug: .

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Fri Jan 20, 2017 7:49 am

Yes, the USB handles the four buttons differently.

If you don't mind the mod, you could rewire the DB9 into two buttons, at least. I have a custom stick from Arcade Forge like this (Sanwa in small form factor and DB9 plug).

User avatar
DrOG
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: MiST - new joystick/gamepad mapping

Postby DrOG » Fri Jan 20, 2017 1:24 pm

I already rewired my old QuickShot II Plus - good enough for the 2-button cores (NES, SMS, PCE), but the Genesis core needs more - at least 3 (A, B and C) & Start.

User avatar
DrOG
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: MiST - new joystick/gamepad mapping

Postby DrOG » Sun Jan 22, 2017 5:05 am

My problem solved:

Bought yesterday a Thrustmaster T-Flight Strick X in a local IT store. The salesman was very pliant and alowed me to try it out before purchase. It's fully MIST-compatible, all the directions and the 12(!) buttons recognized properly. It's price is also nice, 30 Euros.

I recommend it as a cheap alternative of gamepads.
Last edited by DrOG on Mon Apr 24, 2017 9:29 pm, edited 1 time in total.

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

Re: MiST - new joystick/gamepad mapping

Postby Newsdee » Mon Jan 23, 2017 4:16 am

12 buttons is the limit :D
(we could support more, but then it would be best to map to keyboard instead)

User avatar
DrOG
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: MiST - new joystick/gamepad mapping

Postby DrOG » Mon Jan 23, 2017 5:34 am

I think 12 buttons should be more than enough... I use only the first 4 on the top of the stick (in Genesis core: A, B, C and Start).

goran
Atariator
Atariator
Posts: 28
Joined: Sat Feb 27, 2016 4:17 pm

Re: MiST - new joystick/gamepad mapping

Postby goran » Sun Mar 05, 2017 1:41 pm

Hi,

i need instructions how to map second fire button to keyboard. :) My DB9 joystick is not rewired for two buttons (and I want to keep it that way) and USB joystick doesn't work in some arcade cores that require second fire (Moon patrol...).

Best regards,
Goran


Social Media

     

Return to “ST(E) Clones (Suska / MiST)”

Who is online

Users browsing this forum: No registered users and 2 guests