How can I use the code to get all the axis information of the input settings?

Only found a related api, Input.ResetInputAxes, but unfortunately it resets the axes data.

Does anyone know how to get input settings?

I know Input.GetButtonDown(“xxx”), but what I want is to get all the configured button information, so that I can do some related expansions, such as avoiding writing a lot of repetitive code, but only using a loop to solve the problem.

Thanks for the help of kind people :slight_smile:

:frowning:

I’m not sure if you can do this in the old input system.

Consider migrating to the new input system: Input System | Input System | 1.0.2

The api is a lot more robust and allows you to access all the configuration data.