Comments (2)
Judging from the ashpd
demo, you can use the Remote Desktop portal to request control access, and Screen Cast to get the cursor metadata. I hope this simplifies it for you a bit.
from mouse-rs.
Coming back to this, I'd like to suggest a Wayland protocol be added upstream that allows apps to both view and emulate input, similar to Android, and it would go through xdg-desktop-portal to obtain permission. How does this sound?
from mouse-rs.
Related Issues (12)
- [feature request] lock mouse in a rectangle
- Windows scaling also scales mouse-rs locations HOT 1
- MIT license? HOT 13
- How can I get current location of cursor? HOT 2
- Animation? HOT 3
- Mouse move does not generate events on macOS HOT 3
- Move mouse between monitors HOT 3
- cannot move the mouse in osu game HOT 3
- Implement move_by HOT 2
- Getting the mouse position relative to the window HOT 1
- move_to and get_position are using different types
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 mouse-rs.