Bind Event on any input pressed

It could probably work for the keyboard, but is there an equivalent for gamepad?