shmups.system11.org

Shmups Forum
 
* FAQ    * Search
 * Register  * Login 
It is currently Sun Jan 26, 2020 3:51 pm View unanswered posts
View active topics



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Trouble With Arcade Stick Support (Unity)
PostPosted: Sat Dec 21, 2019 6:04 am 


User avatar

Joined: 21 Apr 2012
Posts: 316
Location: West Coast, Canada
Unfortunately not a lot of developers (even in the shmup genre) seem to think about arcade stick support.

And even more unfortunate is that sticks aren't treated as the same button configuration as ordinary controllers.

You would think that a dpad sends the same info as joysticks. But, nope!


So the end result is I'm having a tough time getting Unity to recognize my stick inputs. I've tried 3 arcade sticks and none work.

I've tried specifying the "axis" as either X/Y or numbered as per this chart to no avail:
https://wiki.unity3d.com/index.php/Xbox360Controller

The only success I had was with my Mad Catz PS4 controller which has a switch for sending stick inputs as it were coming from LS analog stick.

Really goofy to be having this problem. If anyone has come across this issue or has a lead on a potential fix, I'd be grateful to hear it!
_________________
ATTN GameDevs: Easily make BULLET HELL patterns visually with VariaBULLET2D!


Top
 Offline Profile  
 
 Post subject: Re: Trouble With Arcade Stick Support (Unity)
PostPosted: Sat Dec 28, 2019 11:06 am 



Joined: 01 Mar 2008
Posts: 64
Location: Finland
You might want do download a directx dev tool to see the button mappings. And you can then set the preferred stick as a preset to your game; you should also let the user to fully define button / axis layouts in case of exotic controllers etc.


Top
 Offline Profile  
 
 Post subject: Re: Trouble With Arcade Stick Support (Unity)
PostPosted: Sun Dec 29, 2019 4:36 pm 


User avatar

Joined: 04 Jan 2017
Posts: 153
I recommend you invest into Rewired, if you are a unity developer because it makes control mapping much easier and user centric.

I tried it onto several prototypes, and it does work well. That can even apply to your arcade joystick gamepad as well.

https://guavaman.com/projects/rewired/


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: xxx1993 and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Space Pilot 3K template by Jakob Persson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group