Mouse Position in the Renderer (GDI)

Hi,

how do you determine the mouse position inside the renderer?
I’m using a device that simulates the mouse by using
win32’s SendInput with a MouseInput struct.
Unfortunately these don’t arrive when using fullscreen mode, it works when i have the renderer minimized though…

helo bracki,

have you tried both nodes: Mouse (System Global) and Mouse (System Window)?

I tried both. No difference unfortunately.
Could that be a DirectX issue?
How do you capture the mouse events?

hum, i am not sure how that SendInput thing works. where does it send the input to? can you specify a window-handle? try using either the windows real handle or the desktops handle if possible.

SendInput is handle independent. It just injects packages into the message queue.

hm…sorry. no idea how to help here then.