Disable Gamepad Left-Thumbstick when navigating inside a widget (game and UI mode)

I have a widget in the viewport and I want to use the D-pad to navigate around while use the left and right thumbstick to play the game. How can I achieve that?

At the moment the left thumbstick also controls the UI so when I move around the selection in the widget also changes.

I found this online but it did’t solve the problem


Please let me know if you figure this out! I’m desperately trying to figure this out.