Common UI Enhanced Input with CommonActivatableWidget layers

Hey everyone,

I’ve seen some discussions where people are having issues with EnhancedInput in Common UI, especially when the InputMappingContext stops working when switching between ActivatableWidgets.

So, I wanted to share my quick solution. I’ve created a document accessible here for those interested (the code can be read in my free plugin):

Overall, for now, I’m just implementing a pull system to check if any CommonActivatableWidgets are still using the InputMappingContext to prevent it from being removed by another deactivated widget.

Additionally, I also demonstrate how to have a single IMC parameter in the project to avoid having to set it manually in each CommonActivatableWidget.

Have a nice days !

1 Like