43 releases (2 stable)

1.0.1 Nov 3, 2021
1.0.0 Jul 18, 2020
0.28.1 May 31, 2020
0.28.0 Jun 10, 2019
0.0.1 Dec 12, 2014

#1296 in Hardware support

Download history 3802/week @ 2024-06-19 3306/week @ 2024-06-26 752/week @ 2024-07-03 3199/week @ 2024-07-10 4126/week @ 2024-07-17 3788/week @ 2024-07-24 3893/week @ 2024-07-31 6220/week @ 2024-08-07 4273/week @ 2024-08-14 3918/week @ 2024-08-21 4428/week @ 2024-08-28 3746/week @ 2024-09-04 3521/week @ 2024-09-11 3801/week @ 2024-09-18 4043/week @ 2024-09-25 2402/week @ 2024-10-02

14,289 downloads per month
Used in 160 crates (29 directly)

MIT license

82KB
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–1MB
~25K SLoC