Comments (5)
The SDL window must have focus to receive keyboard (or mouse) events.
from scrcpy.
Refs https://wiki.libsdl.org/SDL2/SDL_SetWindowKeyboardGrab (but not sure this allows to do what we want)
from scrcpy.
Scrcpy server can bind some shortcut from the desktop OS to gain focus on it's window if possible.
from scrcpy.
I did: scrcpy.exe --stay-awake --push-target=/sdcard/ --no-video -KM --window-height=50 --window-width=50 --window-x 940 --window-y 1090 --window-borderless
Then I set AutoHotKey to gain focus the scrcpy window and click on it automatically when I press Alt + S
Thanks for explain the behavior
from scrcpy.
Good to know. Who knows, it could be reachable for using it.
from scrcpy.
Related Issues (20)
- scrcpy not accepting input from keyboard / mouse. HOT 3
- what is the best configuration for minecraft bedrock? HOT 1
- Bug: after OS update, Honor Magic4 pro can't be mirrored with screen turned off using ScrCpy (closes right away), but can be via Android Studio HOT 1
- Different frame rate when i cast my device with the screen off HOT 1
- Unexpected behaviour of `--crop` argument HOT 1
- [Alt Gr] doesn't work with -K parameter HOT 15
- The resolution goes from 1366x768 to 1360x768 HOT 6
- Scrcpy LOCK MOUSE
- Can't scrcpy mirror the screen when the screen displays the password? HOT 4
- Mouse/Keyboard/Audio not working HOT 3
- Audio stopping from smartphone while using scrcpy HOT 2
- Cannot build scrcpy HOT 4
- Not working when installed from winget HOT 3
- Windows 11: Sometimes scrpy doesn't open HOT 4
- The latest version of scrcpy, scrcpy v2.4, cannot play with mobile phone headphones, but with PC HOT 3
- A way to help arrange multiple scrcpy windows
- CreateProcessW() error 5 On Windows10 HOT 1
- HIRE ADWARE RECOVERY SPECIALIST TO SPY WHATSAPP /SMARTPHONE/IPHONE
- crash when using modified wm size
- how to send a heartbeat packets to the server control thread?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrcpy.