There are several guides, blogs and sites that cover the Xbox 360 controller setup for Unity. The Xbox One controller has slight changes in the button naming convention compared to the Xbox 360 version (which shares setup and usage conventions with other controllers since it has been out for quite some time.) The controller layout is the same but the Xbox 360 Back and Start buttons are now referred to as View and Menu buttons respectively. I’ll be using the Xbox One controller as the development reference – might as well use the same controller platform that is included with the Oculus Rift package. The programming concept is very similar across the controllers, the key differences are with button and axis id assignments. I use the Xbox One Controller for PC and Xbox One, the NVidia Shield, Nexus and Fire Controllers over Bluetooth for Android Apps and when I get the time to test it out the SteelSeries Nimbus for iOS. There are several dual-stick/controllers available across platforms - unfortunately we are still not at the stage of having a single controller solution. Unity supports several of input devices that simplify into mouse, joystick or keyboard behavior, it gets a bit challenging as the same input device will have varying input configurations across devices (PC, Mobile) and platforms (Windows 10, previous Windows, Linux, Mac, iOS, Android etc.) This post follows: Part 10: Creating the CameraRig Control Script
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |