Disable mouse capture in fullscreen ?
Moderator: ScummVM Team
Disable mouse capture in fullscreen ?
Is it possible to disable the mouse-capture in fullscreen?
- eriktorbjorn
- ScummVM Developer
- Posts: 3559
- Joined: Mon Oct 31, 2005 7:39 am
I assumed it was either the case where SDL was unable to change to the exact desired resolution, and had to pick a larger one, or the one where you have several monitors and ScummVM is running in fullscreen on one of them.fingolfin wrote:Interesting question. What is the "mouse-capture", though?
But I don't remember how ScummVM behaves in the former case, and I don't have the hardware to test the latter. (In fact, I don't even know for sure if it can happen.)
I still have no idea what "it" is. Maybe Torbjörn guessed correctly -- maybe not. As long as nobody explains what "it" actually is supposed to be, we devs can't really discuss it or say anything sensible.
So, sit down and explain what precisely you are asking and what it's supposed to do, and we can start talking about it...
So, sit down and explain what precisely you are asking and what it's supposed to do, and we can start talking about it...
Mouse capturing is one way scummvm gets the pointer-coords
from the mouse. Disabled (only in windowmode at the moment)
the coords are the same as the windows mouse movement.
In captured mode the (invisible) windows-mouspointer
is centered and the scummvm-pointer-position is calculated
by adding the delta from the center (+-x/+-y) if you move
the mouse. This cause the scummvm-pointer is moving fast
in one direction if the pen or wii-remote is not pointing
at the center of screen. Its impossible to use such a device
in captured mode.
I am using the Wii-Remote too to play my old Lucasarts-gems
on my plasma-tv. But i have to play in windowmode cause of
this issue.
I am german... but i hope you get what i mean.
from the mouse. Disabled (only in windowmode at the moment)
the coords are the same as the windows mouse movement.
In captured mode the (invisible) windows-mouspointer
is centered and the scummvm-pointer-position is calculated
by adding the delta from the center (+-x/+-y) if you move
the mouse. This cause the scummvm-pointer is moving fast
in one direction if the pen or wii-remote is not pointing
at the center of screen. Its impossible to use such a device
in captured mode.
I am using the Wii-Remote too to play my old Lucasarts-gems
on my plasma-tv. But i have to play in windowmode cause of
this issue.
I am german... but i hope you get what i mean.