I have a simple problem, which hopefully has a simple solution. Below is a simplified version of a widget system; all I require is for the mouse to appear when called by a gamepad input.
If I pressed “T” on the keyboard, everything works as needed–the widget appears, the mouse cursor appears. If I press Gamepad D-pad Up, the widget and print string appear, but the mouse cursor doesn’t. Only after moving the mouse or pressing a keyboard key will the cursor appear. The idea is to use gamepad only, so needing to touch the mouse (or keyboard) then go back to gamepad doesn’t work for the real thing.
I suspect the mouse capture can’t happen without the system receiving mouse (& keyboard) input, but does anyone know any way to get around this?
