- 10 11月, 2019 1 次提交
-
-
由 olbb 提交于
Some devices internally create a Handler when creating an input Surface, causing an exception: > Surface: java.lang.RuntimeException: Can't create handler inside > thread that has not called Looper.prepare() As a workaround, call Looper.prepareMainLooper() beforehand. Fixes: - <https://github.com/Genymobile/scrcpy/issues/240> - <https://github.com/Genymobile/scrcpy/issues/921> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 08 11月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
Write the file trailer only if the file header have been written, to avoid a segfault in libav. Fixes <https://github.com/Genymobile/scrcpy/issues/918>.
-
由 Romain Vimont 提交于
Expose an option to configure how key/text events are forwarded to the Android device. Enabling the option avoids issues when combining multiple keys to enter special characters, but breaks the expected behavior of alpha keys in games (typically WASD). Fixes <https://github.com/Genymobile/scrcpy/issues/650>
-
- 07 11月, 2019 7 次提交
-
-
由 Romain Vimont 提交于
The short options will be removed in the future (and may be reused for other features).
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
Do not duplicate all scrcpy options fields in the structure storing the parsed command-line arguments.
-
由 Romain Vimont 提交于
Mouse events coordinates depend on the screen size and location, so the converter need to access the screen. The fact that it needs the position or the size is an internal detail, so pass a pointer to the whole screen structure.
-
由 Romain Vimont 提交于
Only keep helper functions separated. This will help to convert coordinates internally when necessary.
-
由 Romain Vimont 提交于
It is used a lot, a short name improves readability.
-
- 04 11月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
-
- 03 11月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
The parameter for --window-title was not underlined the same way as others.
-
由 Romain Vimont 提交于
-
- 01 11月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
In build instructions, use: ninja -Cx ... instead of: cd x ninja ...
-
由 Romain Vimont 提交于
It might help to understand problems in recorded videos.
-
- 31 10月, 2019 6 次提交
-
-
由 Romain Vimont 提交于
Add manpage for scrcpy
-
由 yangfl 提交于
-
由 Romain Vimont 提交于
The server name ending with .jar has several drawbacks: - meson requires the jar executable to attempt to modify it: <https://github.com/Genymobile/scrcpy/issues/404#issuecomment-456065923> <https://github.com/mesonbuild/meson/issues/4844> - meson warns during "ninja install" <https://github.com/Genymobile/scrcpy/issues/458> - some users try to execute it on the computer as a java executable Removing the extension solves all these problems.
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
Record format requires a parameter.
-
由 Romain Vimont 提交于
Gradle versions may sometimes cause problems. This script offers an alternative.
-
- 25 10月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
The conversion from SDL mouse state to Android mouse state used wrong constants as mask. Fixes <https://github.com/Genymobile/scrcpy/issues/635>
-
由 Romain Vimont 提交于
The buttons state was forwarded, but ignored by the server.
-
- 20 10月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
Now, get_window_size() returns the current window size (fullscreen or not), while get_windowed_window_size() always returned the windowed size (the size when fullscreen is disabled).
-
- 18 10月, 2019 4 次提交
-
-
由 Romain Vimont 提交于
Call getInternalDisplayToken(), which retrieve the id of the first physical display (which is not necessarily 0 anymore). Fixes <https://github.com/Genymobile/scrcpy/issues/835>
-
由 Romain Vimont 提交于
The methods getPrimaryClip() and setPrimaryClip() expect an additional parameter since Android 10. Fixes <https://github.com/Genymobile/scrcpy/issues/796>.
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
Some devices do not have some methods that we invoke via reflection, or their call do not return the expected value. In that case, do not crash the whole controller.
-
- 04 10月, 2019 7 次提交
-
-
由 Romain Vimont 提交于
Both are handled the very same way on the device.
-
由 Romain Vimont 提交于
There are only touch pointers now, mouse pointers have been removed.
-
由 Romain Vimont 提交于
The mouse is a pointer like any other.
-
由 Romain Vimont 提交于
In SDL, a touch event may simulate an identical mouse event. Since we already handle touch event, ignore these duplicates.
-
由 Romain Vimont 提交于
On SDL touch events, send control messages to the server.
-
由 Romain Vimont 提交于
On receiving an "inject touch" control message, update the local pointers state and inject touches.
-
由 Romain Vimont 提交于
Add a control message type in the protocol to forward touch events to the device.
-
- 03 10月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
This will help to distinguish them from "touch pointers".
-
由 Romain Vimont 提交于
Add a function to write 64 bits in big-endian from a uint64_t.
-
- 30 9月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
Ref: <https://github.com/Genymobile/scrcpy/issues/829> Suggested-by: NLouis Kruger <louisk@gmail.com>
-
由 Louis Kruger 提交于
Ref: <https://github.com/Genymobile/scrcpy/issues/829> Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
- 28 9月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
The project is built with meson+ninja.
-