Use virtual device id to avoid NPE
Inject mouse events using id -1 (virtual device) instead of 0 which does not exist (and causes the InputDevice to be null). Fixes <https://github.com/Genymobile/scrcpy/issues/962>
Showing
想要评论请 注册 或 登录