• Jiri Kosina's avatar
    HID: fix Logitech DiNovo Edge touchwheel and Logic3 /SpectraVideo middle button · 25914662
    Jiri Kosina authored
    Dongle shipped with Logitech DiNovo Edge (0x046d/0xc714) behaves in a weird
    non-standard way - it contains multiple reports with the same usage, which
    results in remapping of GenericDesktop.X and GenericDesktop.Y usages to
    GenericDesktop.Z and GenericDesktop.RX respectively, thus rendering the
    touchwheel unusable.
    The commit 35068976 solved this
    in a way that it didn't remap certain usages. This however breaks
    (at least) middle button of Logic3 / SpectraVideo (0x1267/0x0210),
    which in contrary requires the remapping.
    To make both of the harware work, allow remapping of these usages again,
    and introduce a quirk for Logitech DiNovo Edge "touchwheel" instead - we
    disable remapping for key, abs and rel events only for this hardware.
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
hid.h 15.2 KB