Comments (3)
This is already done. If you use the main branch, you can try it out. Have a look at the changelog. It allows you to specify the delay on the platform via the EnigoSettings
struct. You can also change it during the runtime. On Windows, there no longer are any delays needed. There were a number of breaking changes so you will need to slightly change your code to work with the main branch though. There are two new traits. If you use them directly, the functions will return errors instead of panicking. Please pin your enigo version to a commit if you try it out, because I am actively working on it and am breaking stuff on a daily basis. Add this to your Cargo.toml for example:
enigo = { git = "https://github.com/enigo-rs/enigo.git", rev = "96d5fd2b461fbe61e44473437356b2e2905dbc50" }
Hopefully I will be able to publish a new version soon. Then you can switch back to the crates.io version. Let me know what you think of the changes. If you don't like anything, maybe I can change it before publishing a new version.
from enigo.
I guess you are using enigo for desk-talk. Cool project. Your screen recording is on a Windows computer, so the typing should be instantaneously for you with enigo from the main branch :-)
from enigo.
Awesome! I'll update my local installation for now and update the crate on crates.io
when a new enigo
version comes out. Thanks for the speedy and helpful reply!
from enigo.
Related Issues (20)
- Win: Is it necessary to set the MessageExtraInfo? HOT 1
- win: Use an array in `SendInput` to get rid of sleep HOT 2
- In some games, special keys can't be triggered HOT 13
- Reading key presses HOT 4
- win: Check if alt-gr works
- Inconsistent number of newlines produced by `\n` in `key_sequence` HOT 1
- Is EnigoSettings Unavailable on Windows HOT 2
- Volume up / down doesn't work on MacOS HOT 6
- macOS: Use objc2 instead of objc HOT 3
- Invoking multiple keys at the same time does not seem to register HOT 4
- Selecting text isn't working HOT 3
- `text` seems to miss certain characters, consistently HOT 12
- Support BSDs HOT 4
- State of 0.2 releases HOT 6
- Mouse moves to the wrong coordinates HOT 4
- Choose between xdo and wayland at runtime HOT 1
- Doesn't work as expected in simulation “Ctrl+C" HOT 2
- Screenshot under window does not work HOT 1
- Special characters are not working with ShiftKey
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 enigo.