Disable keyboard focus but allow mouse/Gamepad Focus

I’m trying to make a widget only interactable with a mouse (and gamepad).

I cannot find any setting that enables this functionality.

I’ve tried to use Set Focus to Game Viewport node,

but this creates an undesired effect if the mouse and the keyboard have focus on it at the same time.

Did you selove it?