[−][src]Crate xdl
XDL: An extensional input layer on top of Rust-SDL2
Port of FNA input module + Virtual input.
Intended for games with orghogonal grid maps.
Getting started
Create Input
with raw SDL window and manage their lifecycle.
See vi
module for virtual input.
WIP
- WIP: keyboard input (key repeat?)
- WIP: mouse input
- not started: touch input
Re-exports
pub use num_enum; |
pub use sdl2; |
Modules
axis | Primitive axis types |
utils | Internal utilities |
vi | Virtual input, bundles of input states |
Structs
Input | All of the input states |
Keyboard | All of the mouse states |
Mouse | All of the mouse states |
Enums
Key | XDL keycode |
MouseInput | XDL mouse input code |