Hi after 3 long day i find a way to add controller support to my game. Problem was when i use new input system i used gamepad for binding but my controller didn’t response i believe my controller is ps2 controller which i have 2 of them with different producer. When i used Input.GetKey(KeyCode.joystick…) it didn’t work as well for example when i use button5 my first controller responded but my second controller didn’t and when i add an axix on edit-> Project settings → Input Manager it worked. In mt theory new Input system support only new controllers for example ps4
How did you set up game pad support in the new Input System? All your examples above were with the old input system.
And did you register to these inputs via code?
Input devices need to have configurations created for them to work out of the box with the new input system. You can check if the device is recognized with the Input Debugger (Window → Analysis → Input Debugger).
isnt this registrations
input.Controller.moveCursor.started -= moveCursor;
input.Controller.Select.started -= select;
input.Controller.moveCursor.started += getFunction.navigateMainMenuHeroes;
input.Controller.Select.started += getFunction.selectHero;
yes ı can see the device
This Supported Input Devices | Input System | 1.5.1 is the list of supported devices. Everything not on that list can not be considered supported.
Does old input system support the devices on the list I made a new axes . Its positive button is “joystick button 2” when i press button south on my controller it works will it work on xbox or ps4 controller or do i have to use new input system for new devices . I think i will buy a new contoller
It works with Xbox and PS4 controllers on desktop (not PS4 the touchpad) and consoles.