pushed
zhengqunkoo/logiops • 1:02 AM - Aug 22, 2020
This change makes InputDevice tolerate environments where REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES are not available, which can happen on some Linux distributions or older kernel headers. The hi-res axis mapping logic is now guarded with conditional compilation instead of assuming those constants always exist, and the direct include of linux/input-event-codes.h was removed. In practice, the code now builds and behaves more safely across a wider range of distros without breaking standard wheel handling.
