mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
Each hidpp10 device should have a udev property named either RATBAG_HIDPP10_DPI or RATBAG_HIDPP10_DPI_LIST. These properties ensure that we know the mapping between the raw value of the dpi reported by the mouse and the actual value. Older devices (using the scheme 1 or 2 of hidpp10_get_current_resolution) have to use the DPI_LIST to be able to map 0x80+. Newer devices (using scheme 3) use the DPI setting with min, max, step. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>