- Home /
Xbox controller start button not working
I'm having trouble with setting up the input axes for the start button on the Xbox360 controller - the game I'm working on is a local multiplayer, so I need to be able to determine on which controller the start button was pressed.
The other buttons (A, B, X, Y) seem to work with no problem - I can set them up in the input settings as "joystick [x] button [y]", where x and y are the appropriate controller index and button mapping. But the start button does not seem to work unless specified as "joystick button 7" ie: I cannot specify the controller index, and so when the button is pressed, I cannot identify on which controller this has happened.
Can anyone advise on a work-round for this, and whether or not this problem remains with Xbox One controllers?
Thanks
Answer by officialbabblebytes · Oct 02, 2017 at 03:39 PM
What you could do is go to your input inside project settings section, create a button that only reads from one joystick (by changing read from all joysticks option to joystick 1) and then call it as normal (Input.getbutton())
Not quite sure I understand where you're going with this... I need to know which controllers have had the start button pressed so I can make sure that only active controllers are read from during the game. So if controllers 3 and 4 are being used by the players, controllers 1 and 2 are not read from for things like arena selection, UI menus etc...
Your answer
Follow this Question
Related Questions
Game doesn't recognize X-axis input from XBox 360 controller 1 Answer
Touch to turn wheelcolllider.steerAngle with limits 1 Answer
2D Input.GetAxis not recognized when local scale is flipped 0 Answers
Simulate keyboard buttons to use Input.GetAxis ("Horizontal") 2 Answers
PlayerController rotation axis 0 Answers