- Home /
GetButtonDown not responding to Xbox 360 Button presses
Trying to map some Xbox 360 controls, not having much luck. I've made an "Interact" button inside of the input manager. I've been trying to create one for 360, one for PC controls.
Code I am using to call this,
if (Input.GetButtonDown("Interact")){
print("button is pressed");
convoStart = true;
}
Using the 'e' key, the code is executed. My 360 button is not however though. My second Interact button is just identical to the first, except for key being: joystick button 2.
I know when you build the game , you can set the Xbox Buttons Via the launcher. as for replicating your problem I don't have a Xbox controller Specifically, but I used $$anonymous$$otionJoy with a ps3 controller and that worked. try connecting and disconnecting and see if Unity's says something like "Xbox 360 controller disconnected" in your editor console. you can try pressing other buttons in-case it is mapped weirdly like it was for motionJoy
What are the Input$$anonymous$$anager setting the button? Can you screen shot or upload your Input$$anonymous$$anager for that button?