is there a Simple solution to detect, if any key on Keyboard or Gamepad is pressed, so i can switch my Widget depending on what was pressed ?
I have 2 Widgets (Image inside), one with keyboard controls and one for the gamepad.
What i want to archieve is, if any key on the keyboard is pressed, the widget with the controls of the keyboard should be visible and if any button on the gamepad is pressed, the other one should appear.
I know there is a “any key” for the keyboard in the inputs aviable, but how would this work for the gamepad ?
I have no PlayerController, if this is important to have/know.