mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 03:20:22 +00:00
[client] spice: added basic mouse smoothing for non-capture mode
Enabled by default, can be disabled with `input:mouseSmoothing`
This commit is contained in:
@@ -282,6 +282,13 @@ static struct Option options[] =
|
||||
.type = OPTION_TYPE_INT,
|
||||
.value.x_int = 0,
|
||||
},
|
||||
{
|
||||
.module = "input",
|
||||
.name = "mouseSmoothing",
|
||||
.description = "Apply simple mouse smoothing when not in capture mode (helps reduce aliasing)",
|
||||
.type = OPTION_TYPE_BOOL,
|
||||
.value.x_bool = true,
|
||||
},
|
||||
{
|
||||
.module = "input",
|
||||
.name = "rawMouse",
|
||||
@@ -467,6 +474,7 @@ bool config_load(int argc, char * argv[])
|
||||
params.ignoreWindowsKeys = option_get_bool("input", "ignoreWindowsKeys" );
|
||||
params.hideMouse = option_get_bool("input", "hideCursor" );
|
||||
params.mouseSens = option_get_int ("input", "mouseSens" );
|
||||
params.mouseSmoothing = option_get_bool("input", "mouseSmoothing" );
|
||||
params.rawMouse = option_get_bool("input", "rawMouse" );
|
||||
params.mouseRedraw = option_get_bool("input", "mouseRedraw" );
|
||||
params.autoCapture = option_get_bool("input", "autoCapture" );
|
||||
|
Reference in New Issue
Block a user