Romain Vimont
Romain Vimont
> That's basically what `event->y` does, but worse (which is worse? the SDL impl or this impl?) In the logs from https://github.com/Genymobile/scrcpy/issues/6156#issuecomment-2976088594 (the 2nd section), it seemed that `event->y` did...
> the values are so small, it takes hundreds of events to accumulate to a whole number Do you think it's a problem to be reported to SDL? > INFO:...
OK, could you please post the logs with this change (like in https://github.com/Genymobile/scrcpy/issues/6156#issuecomment-2981578042)? Please use the "details" tag to hide: like this ``` your logs ```
I implemented an alternative solution, using the values accumulated by SDL: branch [`issue6156.2`](https://github.com/Genymobile/scrcpy/commits/issue6156.2/). For now, it is not correct for SDK mouse (which expects scroll values to be between -1...
Please test #6172 (both with hid and sdk mouse).
> however when using sdk the speed is very slow Did you recompile both the client AND the server (that PR makes changes on the server)? Here is a binary:...
> Any method to fix the Permission denied error ? Run a newer version of Android, 7.1.1 is too old for UHID with shell permissions.
That way, the packet header is always 12 bytes: https://github.com/Genymobile/scrcpy/blob/e5e58b1b307d92cbe3432431a9e22cd648f8d4d1/app/src/demuxer.c#L103 If it was variable, it would require the client to buffer the data (more copies) and "packetize" (more complexity). As...
Note that there is no backward or forward compatibility (the protocol is always used between matching client and server), so there is nothing to "reserve", the protocol can be changed...
Not possible, Netflix uses DRM to avoid being captured by "standard" Android capture APIs.