Tuesday, 4 March 2014
Xbox 360 Controller Mapping
I have now changed the controls so they work on a Xbox 360 controller. To do this is used the input directory in unity under edit>project setting>input. I changed the names of the controls and buttons in this to match the controller mapping. I used the following site for the names of the controllers buttons for unity. I then changed the code that needed to be changed to get this to work, however for the first person controls on the analogue sticks I had to change no code as the names were fine and worked as expected. One problem I had was that the right analogue stick looking control moved continuously when the stick was moved, to fix this I had to add some 'Dead' to it.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment