Commit graph

29 commits

Author SHA1 Message Date
Francis Nicholson
4fbd562393 Missing constants for relative axes
I added some of the missing event codes from input-event-codes.h.  Their
omission causes the library to panic with some input devices.
2019-06-30 13:05:59 +02:00
Benjamin Saunders
ca1b1f2342 Fix sync of absolute axis states 2017-05-30 18:33:15 -07:00
Corey Richardson
591d1428c2
Bail out of compensate_dropped if no events were dropped 2017-05-28 17:52:38 -04:00
Corey Richardson
fc27acc715
Remove vestigal debug printlns 2017-05-28 17:52:20 -04:00
Corey Richardson
c6076443aa
Fix tv_usec calculation 2017-05-28 17:49:36 -04:00
Corey Richardson
d9c9225fa0
Don't die if there is no phys name either 2017-05-28 17:28:28 -04:00
Corey Richardson
53b4a6d65e
Don't die if there is no unique name 2017-05-28 17:25:54 -04:00
Corey Richardson
3e15ed1f1d
Remove bogus Fd struct that wasn't ever useful 2017-05-28 17:20:12 -04:00
Corey Richardson
9ff9cf4718
Initial port to nix 2017-05-28 16:05:28 -04:00
Corey Richardson
0c166f7726
Use O_CLOEXEC instead of the non-atomic ioctl fioclex 2017-04-27 20:13:32 -04:00
Corey Richardson
60a7523d4b
Fix all the current issues:
Changes in Rust, changes in the evdev ABI, and a bug
2017-04-27 19:42:45 -04:00
Corey Richardson
341be8cbfb Add number method to every bitflag 2015-07-21 12:04:26 -04:00
Corey Richardson
f3918d09a8 Comment about EV_REL 2015-07-21 08:22:12 -04:00
Corey Richardson
74479a89b5 Didn't mean to commit that yet but fix it anyway 2015-07-21 08:14:48 -04:00
Corey Richardson
43e8f958e7 Add GH_TOKEN 2015-07-21 08:07:36 -04:00
Corey Richardson
6ba2f72dbf Fix some casting issues on stable 2015-07-21 05:45:12 -04:00
Corey Richardson
66887f5771 Add scancodes.rs (missing from git-add) 2015-07-21 05:40:27 -04:00
Corey Richardson
1ee9a10343 Hide compensate_dropped from public API 2015-07-21 05:26:47 -04:00
Corey Richardson
45a27eeb17 Implement SYN_DROPPED synchronization 2015-07-21 05:19:07 -04:00
Corey Richardson
bbbd03d0de Use a wrapper around ffs instead of ffs directly
Also exposes it to users.
2015-07-21 05:19:07 -04:00
Corey Richardson
660a0d55d1 Add some more crate-level docs 2015-07-21 05:19:07 -04:00
Corey Richardson
8ca586c485 Shuffle around device state into its own type 2015-07-21 05:19:07 -04:00
Corey Richardson
efd8d1d8f0 Reexport enum values 2015-07-21 05:19:07 -04:00
Corey Richardson
554f3446af Lots of documentation! Also nuke the unstable RawEvents 2015-07-21 05:19:07 -04:00
Corey Richardson
d556b9dcab [fix] Do error handling in fill_events and raw_events 2015-07-21 05:19:06 -04:00
Corey Richardson
9839b61bac [fix] Used == 1 instead of != 0 when checking if a bit was set via mask 2015-07-21 05:19:06 -04:00
Corey Richardson
d72c3bc57e Fix up sync, open, add getters, raw event reading. 2015-07-07 18:31:28 -04:00
Corey Richardson
075d4392f7 [feat] Initial enumeration and querying 2015-05-31 07:41:42 -04:00
Corey Richardson
4978b2a405 Initial commit 2015-05-29 14:57:46 -04:00