Make Button shortcuts triggerable by gamepads
Created by: Calinou
This can be tested in Escape Space by starting the game with a controller connected, entering a submenu then pressing B (Xbox) or Circle (PlayStation) to go back to the main menu.
Please test in your projects if you can
This closes #25741 (closed).