-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.22 , 1.23, 1.24 does not seem to support API movewindow and postmessage mouseclick.how can fix . #3230
Comments
Scrcpy does not do anything related to that, so it's probably SDL. Replace SDL2.dll from an old release. |
I didn't change any code and phone. Just replaced all of them with 1.24。It works fine from 1.7 to 1.21. After I replaced it with 1.24. something is wrong. Replacement SDL2.dll with older version doesn't seem to start 1.24 |
Adb will take a long time between input and mouse clicks quickly. scrcpy mouse click interval is very short. That's why I use scrcpy.It would be perfect to fix the sendmessage send key. Because it can transmit mouse clicks to the phone even when the phone image is minimized |
Could you retry an older version now? |
yes。I developed based on 1.71. Later, I saw that 1.21 was updated. Yesterday, I saw that it was updated to 1.24 and replaced it. Other versions have no problem in the same situation.Of course I will keep working under 1.21
|
Could you try v1.22 and 1.23 to find from which version it fails? |
ok ,i will download1.22 and1.23 to test |
All releases are available here: https://github.com/Genymobile/scrcpy/releases |
Sorry for my late reply. I tested 1.22 and 1.23 are not able to achieve |
can it be repaired |
If you retest now with 1.21 and it works with 1.21, try to copy SDL2.dll from 1.21 to 1.22/1.23/1.24 release directory. I don't know what else could be the problem. In v1.22 changelog:
|
thanks 。i replaceed sdl2.dll to1.24 。now work ok 。Will the replacement of SDL affect the functionality of scrcpy? |
hi @xxdoc movewindow and sendmessage mouseclick, i also need this feature, Can you share how you did it, thank you very much |
I don't know what you need to do. What you're talking about is common API operations. Just send the message to the handle. Of course, there will be problems in the background of the mouse. It should be because I found that scrcpy will detect the position of the foreground mouse during the test. Always subject to the current mouse position. This estimate needs to be solved officially.
|
Hi xxdoc, I know it's been a while but can you please help me a bit with this issue, I will make sure I don't take |
The latest version does not seem to support movewindow and sendmessage mouseclick. The mouse button must be activated in the program interface, but version 1.21 can support it.
The text was updated successfully, but these errors were encountered: