Crate xdl

source · []
Expand description

Input states for Rust-SDL2 (or any other)

Getting started

Create Input and manage the lifecycle. See vi module for virtual input.

TODOs

easier serde, mouse, gamepad, touchpad, more virtual input, ..

Modules

Backend implementations

Internal utilities

Virtual input, bundles of input states

Structs

All of the input states

All of the keyboard states

Enums

N | E | S | W

N | NE | E | SE | S | SW | W | NW

XDL keycode

Pos | Neg | Neutral

Traits

Updates Input for a specific platform such as SDL2