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

#946 in Hardware support

Download history 5/week @ 2024-02-19 1/week @ 2024-03-11 59/week @ 2024-04-01

60 downloads per month

MIT license

51KB
1.5K SLoC

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

lib.rs:

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

Dependencies

~20MB
~429K SLoC