Key press when input UI only

I am creating an inventory system and when the widgets are created and the inventory is open, I lock player input to UI only which deactivates the player controller. I’d like to know when the left shift is down while in the widget so that I can split an inventory stack when dragging but with the the player controller locked I’m finding this difficult to achieve.

The ‘tab’ key still works to close the inventory but this is a mapped input. I assume if I use the left shift as a mapped input I could possibly get this to work then. I am going to test this after submitting this; however, it feels as though there should be another way within the scripts to do this. Does anyone have suggestions?

Thanks for the help!

Sorry for wasting everyone’s time reading this. I found the solution - it is not the mapping which works, I needed to override the event “On Key Down” inside the parent widget, which is the same thing I did for the ‘tab’ logic to close the inventory to begin with.