Romain Vimont

Results 2060 comments of Romain Vimont

As a preliminary work, I started to extract the replacement of `-K`/`--hid-keyboard` and `-M`/`--hid-mouse` by `--keyboard-input-mode=…` and `--mouse-input-mode=…` to a separate commit (before the introduction of uhid). But I think...

One concrete example could be an option to install and switch to a specific keyboard on the device (AdbKeyboard, NullKeyboard…). Even if such an option is not planned, it could...

I like `--keyboard` and `--mouse`, so as preliminary commits I added these options with 3 possible values: `disabled`, `sdk` and `aoa`. Branch [`uhid.3`](https://github.com/Genymobile/scrcpy/commits/uhid.3/) (3 last commits).

Here is my current branch: [uhid.20](https://github.com/Genymobile/scrcpy/commits/uhid.20/). UHID and mod synchronization work. Please review and test. :) I also added a new shortcut MOD+k to open physical keyboard settings easily. Next...

I fixed several issues, and implemented mouse UHID: [uhid.24](https://github.com/Genymobile/scrcpy/commits/uhid.24/)

Note: on a Nexus 5 with Android 6, I get a permission denied when opening `/dev/uhid` (branch [`uhid.26`](https://github.com/Genymobile/scrcpy/commits/uhid.26/)): ``` java.io.IOException: android.system.ErrnoException: open failed: EACCES (Permission denied) ``` ```console $ adb...

Oops, indeed some files were not committed. I forced pushed `uhid.27` with the missing files.

> diff1 Thank you, fixed locally. > diff2 This is to not exceed 80 chars (that's maybe a stupid rule, but for consistency I stick to it). > I'm probably...

https://github.com/Genymobile/scrcpy/pull/4473#issuecomment-1963004171 So apparently it fails on Android 6. It works on Android 11. Could you please test on Android 7, 8, 9 and 10 to determine from which Android version...