Joystick testing thread

https://github.com/MiSTer-devel/Main_MiSTer/wiki

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

User avatar
Newsdee
Atari God
Atari God
Posts: 1511
Joined: Fri Sep 19, 2014 8:40 am

Re: Joystick testing thread

Postby Newsdee » Sat Jun 29, 2019 3:31 am

I always wondered what was the real difference for those modes.
I suppose they pretend to be a specific device (e.g. specific VID/PID) that each OS recognizes easily?

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5393
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Joystick testing thread

Postby Sorgelig » Sat Jun 29, 2019 4:50 am

Newsdee wrote:I always wondered what was the real difference for those modes.
I suppose they pretend to be a specific device (e.g. specific VID/PID) that each OS recognizes easily?

8bitdo is not a big company to deal with giants about supporting its gamepads. So 8bitdo chooses to mimic the well known gamepads.
This is not a legal way as 8bitdo uses other companies' VIDs.

misterItaly
Atarian
Atarian
Posts: 6
Joined: Sat Jun 29, 2019 3:22 pm

Re: Joystick testing thread

Postby misterItaly » Sat Jul 06, 2019 9:29 am

Vwbug2010 wrote:Good plan I’ll try in on the pc if not I’ll buy a 8bit do controller


did you sorted it out? I bought an orange 8bitdo BT controller receiver as recommended but no way I could pair it with my ps4 joypad. I flashed the fw to the latest , latest beta, gray fw but nothing. I also tried to pair with a mac air with usbc + hub but no luck at all. I also wrote to 8bitdo but they simply replied that they not support mister fpga
Last edited by misterItaly on Sat Jul 06, 2019 1:02 pm, edited 1 time in total.

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5393
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Joystick testing thread

Postby Sorgelig » Sat Jul 06, 2019 11:45 am

misterItaly wrote:
Vwbug2010 wrote:Good plan I’ll try in on the pc if not I’ll buy a 8bit do controller


did you sorted it out? I bought an orange 8bitdo BT controller as recommended but no way I could pair it with my ps4 joypad. I flashed the fw to the latest , latest beta, gray fw but nothing. I also tried to pair with a mac air with usbc + hub but no luck at all. I also wrote to 8bitdo but they simply replied that they not support mister fpga

It's NOT BT controller. It's 8bitdo receiver only for 8bitdo gamepads.
There is no way to pair any non-8bitdo gamepads with it.

misterItaly
Atarian
Atarian
Posts: 6
Joined: Sat Jun 29, 2019 3:22 pm

Re: Joystick testing thread

Postby misterItaly » Sat Jul 06, 2019 1:00 pm

Sorgelig wrote:
misterItaly wrote:
Vwbug2010 wrote:Good plan I’ll try in on the pc if not I’ll buy a 8bit do controller


did you sorted it out? I bought an orange 8bitdo BT controller as recommended but no way I could pair it with my ps4 joypad. I flashed the fw to the latest , latest beta, gray fw but nothing. I also tried to pair with a mac air with usbc + hub but no luck at all. I also wrote to 8bitdo but they simply replied that they not support mister fpga

It's NOT BT controller. It's 8bitdo receiver only for 8bitdo gamepads.
There is no way to pair any non-8bitdo gamepads with it.


ok, dunno why I had the impression it was compatible with every gamepad on the mister and not the other way round (use their own pad on ps4, raspberry etc..) so for me it's totally useless. I guess I'll trash it and buy a compatible usb arcade stick

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5393
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Joystick testing thread

Postby Sorgelig » Sat Jul 06, 2019 3:43 pm

misterItaly wrote:ok, dunno why I had the impression it was compatible with every gamepad on the mister and not the other way round (use their own pad on ps4, raspberry etc..) so for me it's totally useless. I guess I'll trash it and buy a compatible usb arcade stick

but their SN30 Pro / SF30 Pro are very good BT/USB controllers. Probably are best after DS3 and DS4 gamepads.

SaschaFFM
Atari User
Atari User
Posts: 42
Joined: Mon Feb 05, 2018 8:24 am

Re: Joystick testing thread

Postby SaschaFFM » Sun Jul 14, 2019 4:46 pm

I am currently on vacation, bringing my MiSTer with me. Occasional gaming with the kids when weather is bad. Works great as it is so ultra-portable.

I wouldn’t write if I did not have problems, though. I brought my MiSTer, SF30-Controllers and powered USB-Hub. Same as at home, only that I brought a mini-keyboard instead of Full-size. But for some weird reason I cannot play multi-player games. Both joypads control player 1. With every core I tried. Mainly NES, SNES and Genesis.

I am sure I did something wrong accidentally. Any ideas what it might be? I have very limited chances to test around with my setup I currently have available. As it has been raining for days now, help would be highly appreciated. Shopping with wife is getting expensive :wink:

THaase
Captain Atari
Captain Atari
Posts: 186
Joined: Mon Oct 16, 2017 8:39 am
Location: Germany

Re: Joystick testing thread

Postby THaase » Sun Jul 14, 2019 7:12 pm

Configure BOTH Joysticks on the Menu Core (best in the used ports) even if they both are the same!

petarku
Atariator
Atariator
Posts: 20
Joined: Fri Apr 12, 2019 9:20 am

Re: Joystick testing thread

Postby petarku » Mon Sep 02, 2019 12:42 pm

Hi guys ,
someone mentioned here that competition pro USB anniversary edition is working for him out of the box.
I cannot manage to define it properly in mister and minimig as up and left doesnt get registered.
I am using powered usb hub 1.2( powered by split with mister).
Also I tried to connect tac2 via DB9toUSB adapter but it is same behaviour , left and up are not defined.

Is there easy way to debug this on Mac to see what is happening ?

Thanks in advance ,
Petar

petarku
Atariator
Atariator
Posts: 20
Joined: Fri Apr 12, 2019 9:20 am

Re: Joystick testing thread

Postby petarku » Mon Sep 02, 2019 9:40 pm

here is the data for competition pro usb anniversary edition , where up and left doesnt seems to be picked up when defining buttons

competition pro usb anniversary edition
joystick id 0079:181c
Right
Input event: type=EV_ABS, Axis=0, Offset=255, jnum=0, ID:0079:181c:00, abs_min = 0, abs_max = 255
Input event: type=EV_ABS, Axis=0, Offset=128, jnum=0, ID:0079:181c:00, abs_min = 0, abs_max = 255
Left
Input event: type=EV_ABS, Axis=0, Offset=0, jnum=0, ID:0079:181c:00, abs_min = 0, abs_max = 255
Input event: type=EV_ABS, Axis=0, Offset=128, jnum=0, ID:0079:181c:00, abs_min = 0, abs_max = 255
Up
Input event: type=EV_ABS, Axis=1, Offset=0, jnum=0, ID:0079:181c:00, abs_min = 0, abs_max = 255
Input event: type=EV_ABS, Axis=1, Offset=128, jnum=0, ID:0079:181c:00, abs_min = 0, abs_max = 255
Down
Input event: type=EV_ABS, Axis=1, Offset=255, jnum=0, ID:0079:181c:00, abs_min = 0, abs_max = 255
Input event: type=EV_ABS, Axis=1, Offset=128, jnum=0, ID:0079:181c:00, abs_min = 0, abs_max = 255
Button 1
Input event: type=EV_KEY, code=307(0x133), value=1, jnum=0, ID:0079:181c:00
Input event: type=EV_KEY, code=307(0x133), value=0, jnum=0, ID:0079:181c:00
Button2
Input event: type=EV_KEY, code=304(0x130), value=1, jnum=0, ID:0079:181c:00
Input event: type=EV_KEY, code=304(0x130), value=0, jnum=0, ID:0079:181c:00

petarku
Atariator
Atariator
Posts: 20
Joined: Fri Apr 12, 2019 9:20 am

Re: Joystick testing thread

Postby petarku » Mon Sep 02, 2019 9:47 pm

db9tousb with tac2 (left/ up cannot be defined)
joystick id 16c0:27dc
Right
Input event: type=EV_ABS, Axis=0, Offset=127, jnum=0, ID:16c0:27dc:00, abs_min = -127, abs_max = 127
Input event: type=EV_ABS, Axis=0, Offset=0, jnum=0, ID:16c0:27dc:00, abs_min = -127, abs_max = 127
Left
Input event: type=EV_ABS, Axis=0, Offset=-127, jnum=0, ID:16c0:27dc:00, abs_min = -127, abs_max = 127
Input event: type=EV_ABS, Axis=0, Offset=0, jnum=0, ID:16c0:27dc:00, abs_min = -127, abs_max = 127
Up
Input event: type=EV_ABS, Axis=1, Offset=-127, jnum=0, ID:16c0:27dc:00, abs_min = -127, abs_max = 127
Input event: type=EV_ABS, Axis=1, Offset=0, jnum=0, ID:16c0:27dc:00, abs_min = -127, abs_max = 127
Down
Input event: type=EV_ABS, Axis=1, Offset=127, jnum=0, ID:16c0:27dc:00, abs_min = -127, abs_max = 127
Input event: type=EV_ABS, Axis=1, Offset=0, jnum=0, ID:16c0:27dc:00, abs_min = -127, abs_max = 127
Button 1
Input event: type=EV_KEY, code=288(0x120), value=1, jnum=0, ID:16c0:27dc:00
Input event: type=EV_KEY, code=288(0x120), value=0, jnum=0, ID:16c0:27dc:00
Button 2
Input event: type=EV_KEY, code=288(0x120), value=1, jnum=0, ID:16c0:27dc:00
Input event: type=EV_KEY, code=288(0x120), value=0, jnum=0, ID:16c0:27dc:00

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5393
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Joystick testing thread

Postby Sorgelig » Mon Sep 02, 2019 11:44 pm

I don't see any anomalies. Both should work fine if you define it in Menu core first and pass dpad test at first stage. Both controllers mimicking analog stick with fixed positions.

petarku
Atariator
Atariator
Posts: 20
Joined: Fri Apr 12, 2019 9:20 am

Re: Joystick testing thread

Postby petarku » Tue Sep 03, 2019 9:16 am

Hi Sorgelig ,
I am trying to define them in Menu core first and it doesnt register left or up on both joysticks on last menu core.

Just to be sure that I can configure any joystick, I tired to configure xbox 360 arcade stick and it worked flawlessly.
What are next steps for debuging what is wrong as I really want competition pro joystick to work so I can play swos on mister :)

any suggestions ?

User avatar
Newsdee
Atari God
Atari God
Posts: 1511
Joined: Fri Sep 19, 2014 8:40 am

Re: Joystick testing thread

Postby Newsdee » Tue Sep 03, 2019 9:45 am

The USB dump that you show seems to be completely normal, i.e. the axis go from 0 to 127 for one side and 128 to 255 on the other side.

Make sure to update to latest MiSTer and menu cores (not just the menu core).

petarku
Atariator
Atariator
Posts: 20
Joined: Fri Apr 12, 2019 9:20 am

Re: Joystick testing thread

Postby petarku » Tue Sep 03, 2019 10:21 am

Hi Newsdee ,
I have latest mister MiSTer_20190820
latest menu : menu_20190824.rbf
and latest minimig but that shouldnt matter as my problem with definition of up and left is in menu core..

Is there any other way to debug this ? I can capture all log from start of mister if someone is willing to help.
I will also try to check some other combinations of mister and menu core (maybe to pick one from 3 months from both and see if will be any difference)

Thanks for your time,
Petar

THaase
Captain Atari
Captain Atari
Posts: 186
Joined: Mon Oct 16, 2017 8:39 am
Location: Germany

Re: Joystick testing thread

Postby THaase » Tue Sep 03, 2019 1:38 pm

You say something like 'skip d-pad' most likely (as you don't have one).
Just go through it - questionairy about up/down/left/right will follow.

petarku
Atariator
Atariator
Posts: 20
Joined: Fri Apr 12, 2019 9:20 am

Re: Joystick testing thread

Postby petarku » Tue Sep 03, 2019 2:06 pm

Hi Thaase ,
I am not sure I am following ,
This is what i am doing at the moment
Going to configure joystick button in menu core :
I skip d-pad with space and then come to configure directions on which left and right are not working although the offset looks like they are right based on my debug log that i posted above
Are you saying i should configure d-pad as directions on the joystick and not skip them ?

Best Regards,
Petar

THaase
Captain Atari
Captain Atari
Posts: 186
Joined: Mon Oct 16, 2017 8:39 am
Location: Germany

Re: Joystick testing thread

Postby THaase » Tue Sep 03, 2019 2:36 pm

Yeah - what I said :-)
DONT'T skip D-Pad with space!
Just press up/ left (can't remember clearly at the moment) as requested.
You will be asked for up/down/left right afterwards.
If you skip d-pad you have exactly the problem you mention.

petarku
Atariator
Atariator
Posts: 20
Joined: Fri Apr 12, 2019 9:20 am

Re: Joystick testing thread

Postby petarku » Tue Sep 03, 2019 2:59 pm

thanks, it is clear now :) ... cheers for suggestion I will try it tonite

petarku
Atariator
Atariator
Posts: 20
Joined: Fri Apr 12, 2019 9:20 am

Re: Joystick testing thread

Postby petarku » Tue Sep 03, 2019 8:27 pm

@THasse it is working now , you are absolute legend !!! I was breaking my head over this setup for a week now.
Thank you !

THaase
Captain Atari
Captain Atari
Posts: 186
Joined: Mon Oct 16, 2017 8:39 am
Location: Germany

Re: Joystick testing thread

Postby THaase » Tue Sep 03, 2019 8:36 pm

Sorgelig is legend - not me :-)

You're welcome!

Tibob
Retro freak
Retro freak
Posts: 11
Joined: Tue Feb 19, 2019 10:35 pm

Re: Joystick testing thread

Postby Tibob » Sat Sep 14, 2019 5:20 pm

Hi,

With the neogeo core, it's time to think about an adapter to play with neogeo original pad on mister :)

Someone knows about an DB15 to USB adapter for this purpose? Even a DIY concept will be interesting :wink:

User avatar
bootsector
Retro freak
Retro freak
Posts: 16
Joined: Wed Aug 21, 2019 11:51 am

Re: Joystick testing thread

Postby bootsector » Sat Sep 14, 2019 7:30 pm

Tibob wrote:Hi,

With the neogeo core, it's time to think about an adapter to play with neogeo original pad on mister :)

Someone knows about an DB15 to USB adapter for this purpose? Even a DIY concept will be interesting :wink:


There's the USB Retropad Adapter, which is open hardware:

https://github.com/bootsector/usb-retropad-adapter

It features a DB9 connector but there's a NeoGeo DB15 to DB9 adapter available in the schematics directory.

Tibob
Retro freak
Retro freak
Posts: 11
Joined: Tue Feb 19, 2019 10:35 pm

Re: Joystick testing thread

Postby Tibob » Sun Sep 15, 2019 7:03 am

Thanks for your answer, I have to take a look on this.

This one seems to be not so bad too. http://www.smallcab.net/xinmotek-joueurs-p-1874.html. For 15€ there is a lot of possibilities.

mutmuthux
Atariator
Atariator
Posts: 28
Joined: Mon Mar 04, 2019 8:11 am

Re: Joystick testing thread

Postby mutmuthux » Sun Sep 15, 2019 7:56 am

Tibob wrote:Thanks for your answer, I have to take a look on this.

This one seems to be not so bad too. http://www.smallcab.net/xinmotek-joueurs-p-1874.html. For 15€ there is a lot of possibilities.


I bought two single player xinmoteks as i wasnt sure how MiSTer handled having two players on one usb.
Still not sure today, but it was a cheap insurance policy :)

Also the 'zero delay' units work well too.


Return to “MiSTer”

Who is online

Users browsing this forum: amadama, senkun and 5 guests