Kodi Community Forum
Controller profiles for X-Arcade series of controllers by Xgaming? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Game support (https://forum.kodi.tv/forumdisplay.php?fid=292)
+--- Thread: Controller profiles for X-Arcade series of controllers by Xgaming? (/showthread.php?tid=256429)

Pages: 1 2 3


Controller profiles for X-Arcade series of controllers by Xgaming? - RockerC - 2016-01-14

Any plans for adding out-of-the-box support for the X-Arcade joystick series of game controllers?

http://shop.xgaming.com/collections/arcade-joysticks

They make the best arcade joysticks for home use and be great if could be supported by default!

http://www.xgaming.com/support/questions/12/Advanced+MAME%E2%84%A2+Configuration+%26+Config+File+Download

Believe I read that garbear mentioning that he had a X-Arcade controller but not sure which?

Have their Tankstick at home and been recommending Xgaming controllers to everyone I meet.


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - garbear - 2016-01-14

They were awesome enough to send me the ultra best trackball version. SCALE is coming up in a week, so I'm motivated to get this beast working for Game Night.

My idea is to have a new setting under Games -> Input called "Number of keyboard players". The total number of players will then be number of controllers + number of keyboard players. Unlike controllers ATM, each keyboard player can have his own configuration. This should allow the dual joysticks to work for two players.


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - RockerC - 2016-01-15

Very cool! Two-player arcade joystick = Double the awesomeness!

Tip; you can actually fit a Raspberry Pi inside a X-Arcade joystick!

http://ardiri.com/blog/raspberry_pi_x_arcade_mame_joystick

Image

Just ran a Bubble and Bobble maraton with MAME this weekend Cool

1942 by Capcom is also great two-player arcade game with MAME.


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - grumpygamer - 2016-01-15

I'd love one of these


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - N3MIS15 - 2016-01-17

(2016-01-15, 10:04)RockerC Wrote: Very cool! Two-player arcade joystick = Double the awesomeness!

Tip; you can actually fit a Raspberry Pi inside a X-Arcade joystick!

http://ardiri.com/blog/raspberry_pi_x_arcade_mame_joystick

Image

Just ran a Bubble and Bobble maraton with MAME this weekend Cool

1942 by Capcom is also great two-player arcade game with MAME.

Funny you mention this, I did the same for my nephew for his birthday Smile
Image

I made a custom pcb that connected all the buttons to the GPIO ports


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - garbear - 2016-01-18

so freaking cool. are you running RetroPlayer on the pi yet?


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - N3MIS15 - 2016-01-18

It's running retropie for now


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - garbear - 2016-01-18

Can anyone volunteer to create a keymap for the tankstick's default configuration?


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - Powerhouse - 2016-01-19

I believe I posted about this, quite a while ago, as I have a config file for MAME that has both the XArcade Tankstick and up to 4 Xbox 360 controllers. Not sure if that is what your looking for but I would be glad to post it up again.


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - garbear - 2016-01-19

Sure, I'd like to check it out. It'll probably contain data I can use.


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - RockerC - 2016-01-20

(2016-01-19, 22:11)garbear Wrote: Sure, I'd like to check it out. It'll probably contain data I can use.
You also have their "official" xml config file of the default Mode1 button layout for MAME here (to be used with US-English keyboard):

http://www.xgaming.com/support/questions/12/Advanced+MAME%E2%84%A2+Configuration+%26+Config+File+Download

http://www.xgaming.com/service/ServiceFiles/X-Arcade.zip

Image

Also be sure to checkout the X-Arcade Test Utility Program for ideas how to animate GUI configuration of it in Kodi:

http://www.xgaming.com/support/questions/4/Test+Your+X-Arcade%E2%84%A2+First%21+-+Online+Test+Utility+Program

http://www.xgaming.com/service/ServiceFiles/Test/X-Arcade_Test_Program.zip


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - N3MIS15 - 2016-02-01

I stumbled across this while looking at the retropie project. No idea if it would be of any use for retroplayer..

https://github.com/petrockblog/Xarcade2Joystick.git


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - garbear - 2016-02-02

NOTICE: Tankstick support has been moved to an add-on. See HOW-TO:X-Arcade Tankstick in Kodi (wiki)



ORIGINAL POST (2016-02-01):

While not finished yet, I thought I would post my solution for peripherals that use keyboard drivers instead of joystick drivers, like the X-gaming Tankstick.

Image

Calling ActivateWindow(GameControllers) will open the dialog, but ONLY allow you to map controllers.

Calling ActivateWindow(GameControllers,1) or ActivateWindow(GameControllers,2), etc will open the dialog, but ONLY allow you to map the keyboard to the specified emulated controller.


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - garbear - 2016-02-03

X-Arcade support has made it into the newest builds in the build thread. Fortunately I had a friend awake at 1am when I got this working, so SNES ports of some arcade games have been extensively tested.

EDIT: Only in-game support, the GUI still needs a button map


RE: Controller profiles for X-Arcade series of controllers by Xgaming? - RockerC - 2016-02-26

@garbear, pleasealso checkout this blog post about the concept behind the user-space driver Xarcade2Jstick:

http://blog.petrockblock.com/2014/06/01/xarcade2jstick/

Maybe you could use this concept to get some ideas on how to better handle keyboard based controllers?


As for the mapping, here is the default layout for "player-1" (on the left) and "player-2" (on the right):

Image

Or alternativly if you have two for four players then the below is the below layout is recommended:

Image

Image