Romain Vimont

Results 2060 comments of Romain Vimont

FYI, you can run `scrcpy-console.bat` to get more info. It's not as good as a real GUI to report errors, but you can find out the problem.

> Couldn't open device, some information will be missing Probably a permission issue. Check your "android udev rules". If you enable USB debugging, is your device detected by adb?

Also: ``` scrcpy --otg -Vdebug ```

Do you have any program using USB (like adb daemon, but this one is killed, so there might be another one)?

> You mean programs using the phone? Not necessarily the phone, but something which opens USB devices (see https://github.com/Genymobile/scrcpy/issues/2773#issuecomment-1032283712, but in fact this is not the exact same error). I...

> adb server version (41) doesn't match this client (39); killing... It uses a different `adb`, because snap. You could try: ``` ADB=$(which adb) scrcpy ``` Or don't use the...

``` error: device offline ``` You device is not detected connected by adb. You should check on stackoverflow (it's not an issue from scrcpy). On some devices, you might need...

Thank you for the report :+1: A PR is welcome :wink: Some first remarks on your branch. The `preciseX`/`preciseY` fields have been added in [SDL 2.0.18](https://wiki.libsdl.org/SDL_MouseWheelEvent), so a fallback method...

> Should I also clamp the value to -1~1 I think so. > and/or shorten the fields to 16 bits (short) each like pressure? I would say yes, I guess...