Switching input icons efficiently?

So I want to switch the input icons between xbox gamepad and keyboard in whatever widgets are showing input icons on the screen, but I’m not exactly sure how to do it.

I have this in my player controller for swapping between mouse+keyboard and gamepad:

so ideally how would it go from here? calling an interface function, or maybe an event dispatcher? with interfaces I’m not sure how I’d get all visible widgets to check if they implement the interface and trigger the interface event, and with event dispatchers I guess I could bind them in every widget that shows input icons?

and within said widget blueprints, I suppose I could set a function to switch all icons individually, but is there a way to change all icons at once? I’m thinking data tables, but is one of the things I’m still not very familiar with

1 Like