Crate xdl[][src]

Input state backed by Rust-SDL2, rokol::app or your implementation

Getting started

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

TODO: mouse, gamepad, touch

Modules

utils

Internal utilities

vi

Virtual input, bundles of input states

Structs

Input

All of the input states

Keyboard

All of the keyboard states

Enums

Dir4

N | E | S | W

Dir8

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

Key

XDL keycode

Sign

Pos | Neg | Neutral