-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux evdev: Stop using the time field of input_event
Fixes github issue #104. The time field is being removed from input_event (evdev) for 32bit systems, to prepare for the year 2038 32bit timestamp rollover. This breaks the build for spacenavd on 32bit linux systems. Turns out that value was only ever used by the incorrect dominant axis implementation which relied on timeouts (see github issue #84). Therefore the easy fix for the missing time field is to just drop it altogether and temporarilly disable the dominant axis code altogether until it's fixed.
- Loading branch information
Showing
3 changed files
with
1 addition
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,6 @@ enum { | |
|
||
struct dev_input { | ||
int type; | ||
struct timeval tm; | ||
int idx; | ||
int val; | ||
}; | ||
|