42 releases (1 stable)

Uses old Rust 2015

1.0.0 Jul 18, 2020
0.28.1 May 31, 2020
0.28.0 Jun 10, 2019
0.24.0 Feb 6, 2019
0.0.1 Dec 12, 2014

#39 in Game dev

Download history 1321/week @ 2020-12-22 1720/week @ 2020-12-29 2613/week @ 2021-01-05 2969/week @ 2021-01-12 3053/week @ 2021-01-19 2572/week @ 2021-01-26 2303/week @ 2021-02-02 1753/week @ 2021-02-09 2581/week @ 2021-02-16 2588/week @ 2021-02-23 2793/week @ 2021-03-02 2468/week @ 2021-03-09 2247/week @ 2021-03-16 2358/week @ 2021-03-23 1819/week @ 2021-03-30 2211/week @ 2021-04-06

9,868 downloads per month
Used in 134 crates (29 directly)

MIT license

84KB
2K SLoC

input Build StatusCrates.io

A structure for user input.

This library contains:

  • Press and release of buttons
  • Keyboard
  • Mouse
  • Unicode input
  • Window resize
  • Window focus
  • Modifier keys

How to contribute


lib.rs:

A flexible structure for user interactions to be used in window frameworks and widgets libraries.

Dependencies

~0.5–1.1MB
~26K SLoC