you can use a custom player controller and add a dispatch call when a key is pressed
thenb in the widget, bind that call to same action than your button press