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.
This commit is contained in:
Francis Nicholson 2019-06-30 13:05:59 +02:00
parent 04761b788f
commit 4fbd562393

View file

@ -145,6 +145,10 @@ bitflags! {
const REL_DIAL = 1 << 0x07, const REL_DIAL = 1 << 0x07,
const REL_WHEEL = 1 << 0x08, const REL_WHEEL = 1 << 0x08,
const REL_MISC = 1 << 0x09, const REL_MISC = 1 << 0x09,
const REL_RESERVED = 1 << 0x0a,
const REL_WHEEL_HI_RES = 1 << 0x0b,
const REL_HWHEEL_HI_RES = 1 << 0x0c,
const REL_MAX = 1 << 0x0f,
} }
} }