12 releases

0.3.0 Jul 16, 2022
0.2.2 Jul 16, 2022
0.2.1 Jan 8, 2022
0.2.0 Apr 3, 2021
0.1.7 Oct 7, 2020

#694 in Graphics APIs

33 downloads per month

MIT license

51KB
1.5K SLoC

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, ..


XDL

Extensional input layer on top of Rust-SDL2 or rokol

Port of FNA input module + virtual input, intended for games with orthoghogonal grid maps.

WIP

  • done: keyboard input
  • WIP: mouse input
  • not started: touch input

Dependencies

~20MB
~431K SLoC