Any key/button detection

Hello, I am trying to make a simply “Press any key to start” and actually for the keyboard it is okay because there is a “any key” binding, but I don’t find it for the gamepad, is there a equivalent way to do it for a gamepad ? Even trough script and not with ActionMap.

There’s no built-in action for that. You’ll have to create it in code:

new InputAction(binding: "/*/<button>");

Remember to enable it. <button> prevents deltas like the mouse from being captured.

Thanks ! Just need to don’t forget to disable it x)