bevy_global_input
Global Mouse and Keyboard events for bevy.
Features
- Global keyboard events
- Global mouse position
- Global Hotkeys
- Moving the mouse
Not Implemented / TODO
- Sending Keystrokes
- Converting to Bevy KeyCode (don't expose underlying library enums)
Quickstart
log out global mouse position every half second.
use Duration;
use ;
use ;
Find more in Examples
compatible bevy versions
| bevy | bevy_global_input |
|---|---|
| 0.11 | 0.4.0 |
| 0.10 | 0.3.0 |
| 0.9 | 0.2.0 |
| 0.9 | 0.1.0 |