• Takahiro Fujii's avatar
    HID: elecom: add support for TrackBall 056E:011C · 29f316a1
    Takahiro Fujii authored
    Make function buttons on ELECOM M-HT1DRBK trackball mouse work. This model
    has two devices with different device IDs (010D and 011C). Both of
    them misreports the number of buttons as 5 in the report descriptor, even
    though they have 8 buttons. hid-elecom overwrites the report to fix them,
    but supports only on 010D and does not work on 011C. This patch fixes
    011C in the similar way but with specialized position parameters.
    In fact, it is sufficient to rewrite only 17th byte (05 -> 08). However I
    followed the existing way.
    Signed-off-by: default avatarTakahiro Fujii <fujii@xaxxi.net>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    29f316a1
hid-elecom.c 4.71 KB