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

#1393 in Hardware support

Download history 4043/week @ 2024-07-22 3741/week @ 2024-07-29 3727/week @ 2024-08-05 6650/week @ 2024-08-12 3663/week @ 2024-08-19 4487/week @ 2024-08-26 4089/week @ 2024-09-02 3507/week @ 2024-09-09 3466/week @ 2024-09-16 4366/week @ 2024-09-23 3313/week @ 2024-09-30 672/week @ 2024-10-07 2895/week @ 2024-10-14 3005/week @ 2024-10-21 3537/week @ 2024-10-28 2881/week @ 2024-11-04

12,365 downloads per month
Used in 161 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.4–1MB
~24K SLoC