Remove obsolete text in error message
The HID/OTG features are now available on all platforms. PR #3011 <https://github.com/Genymobile/scrcpy/pull/3011>
This commit is contained in:
parent
6b65cd405a
commit
6ee75c0cff
1 changed files with 3 additions and 6 deletions
|
@ -1370,8 +1370,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
|
||||||
opts->keyboard_input_mode = SC_KEYBOARD_INPUT_MODE_HID;
|
opts->keyboard_input_mode = SC_KEYBOARD_INPUT_MODE_HID;
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
LOGE("HID over AOA (-K/--hid-keyboard) is disabled (or "
|
LOGE("HID over AOA (-K/--hid-keyboard) is disabled.");
|
||||||
"unsupported on this platform).");
|
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
case OPT_MAX_FPS:
|
case OPT_MAX_FPS:
|
||||||
|
@ -1389,8 +1388,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
|
||||||
opts->mouse_input_mode = SC_MOUSE_INPUT_MODE_HID;
|
opts->mouse_input_mode = SC_MOUSE_INPUT_MODE_HID;
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
LOGE("HID over AOA (-M/--hid-mouse) is disabled (or "
|
LOGE("HID over AOA (-M/--hid-mouse) is disabled.");
|
||||||
"unsupported on this platform).");
|
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
case OPT_LOCK_VIDEO_ORIENTATION:
|
case OPT_LOCK_VIDEO_ORIENTATION:
|
||||||
|
@ -1559,8 +1557,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
|
||||||
opts->otg = true;
|
opts->otg = true;
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
LOGE("OTG mode (--otg) is disabled (or unsupported on this "
|
LOGE("OTG mode (--otg) is disabled.");
|
||||||
"platform).");
|
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
case OPT_V4L2_SINK:
|
case OPT_V4L2_SINK:
|
||||||
|
|
Loading…
Reference in a new issue