Added mouse-relative option to command line
This commit is contained in:
parent
fb8eb7251e
commit
da9edc1829
@ -2930,6 +2930,10 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
|
||||
{
|
||||
settings->GrabMouse = enable;
|
||||
}
|
||||
CommandLineSwitchCase(arg, "mouse-relative")
|
||||
{
|
||||
settings->MouseUseRelativeMove = enable;
|
||||
}
|
||||
CommandLineSwitchCase(arg, "unmap-buttons")
|
||||
{
|
||||
settings->UnmapButtons = enable;
|
||||
|
@ -245,6 +245,8 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = {
|
||||
"Select monitors to use" },
|
||||
{ "mouse-motion", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
||||
"Send mouse motion" },
|
||||
{ "mouse-relative", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
||||
"Send mouse motion with relative addressing" },
|
||||
#if defined(CHANNEL_TSMF_CLIENT)
|
||||
{ "multimedia", COMMAND_LINE_VALUE_OPTIONAL, "[sys:<sys>,][dev:<dev>,][decoder:<decoder>]",
|
||||
NULL, NULL, -1, "mmr", "[DEPRECATED] Redirect multimedia (video) use /video instead" },
|
||||
|
Loading…
Reference in New Issue
Block a user