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)
- Please, help
- Openmic in-game while Mirroring + Audio
- Audio outputting on phone instead of PC
- Demuxer 'video' error and "Given calling package android does not match caller's uid 2000" HOT 2
- Scrcpy v2.4 dengan Android 14, layar hp tampil tapi tidak bisa dikontrol lewat pc HOT 1
- Strange Audio Issue HOT 5
- In-Game Microphone
- Missing call of CloseHandle() in process.c (after successful CreateProcessW()) HOT 2
- --no-audio, error when exit terminal HOT 4
- segmentation fault + ffmpeg parameter error + memory leaks HOT 24
- Recover data from a no touch + no video VIVO v2110
- is it possible to overwrite the bank app casting block when using scrcpy? HOT 1
- option unrecognized HOT 1
- R36S - Arkos - RK3326 - RGB20S - RG351MP HOT 1
- Smooth Mouse Movement Between Multiple Displays Using scrcpy --mouse=uhid
- scrcpy dont mirror motorola edge 30 neo HOT 1
- mouse and keyboard HOT 2
- Screen video fails on Nokia 5.3 running Android 12
- view camera and screen at same time HOT 2
- Bluetooth otg mode
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.