This is a widget, so I assume it is on the client only. This would mean the player controller should be fine. However, any information moving to and from the widget will need to properly run on the server.
Forgive me, but I do not see the “Receive Hardware input” pin in the blueprint, can you provide some more info on specifically where the hardware input is being set or accessed?