• Jason Gerecke's avatar
    HID: wacom: Perform all event processing as part of report processing · 06324e0c
    Jason Gerecke authored
    In some cases, we need access to information before it becomes available
    to the 'event' handler. In particular, for some devices we cannot properly
    process the finger data without first knowing the "contact count" at the
    very end of the report (e.g. the Cintiq 24HDT touch screen, when forced
    through the GENERIC codepath).
    
    Since the HID subsystem doesn't provide a way to take action before 'event'
    is called, we take a cue from hid-multitouch.c and add a pre-process step
    within the 'report' handler that performs the same function.
    Signed-off-by: default avatarJason Gerecke <jason.gerecke@wacom.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
    06324e0c
wacom_sys.c 44.1 KB