• Jason Gerecke's avatar
    udev: Reproduce entire LIBINPUT_DEVICE_GROUP for paired ExpressKey Remote · 5521ab03
    Jason Gerecke authored
    In order for two devices to be in the same group, they need to share
    identical LIBINPUT_DEVICE_GROUP attributes. The `wacom_handle_ekr` function
    overwrites the VID/PID for an ExpressKey Remote, but the 'phys' path is
    left unchanged. This only works if the EKR and the device we want to pair
    it with are both direct sibings in the USB tree. It isn't always possible
    to actually connect the devices like this, however. The Cintiq Pro 32 and
    24, for instance, have multiple internal USB hubs and place the pen sensor
    and the USB port for the EKR dongle behind different ones.
    By copying the 'phys' path of the device we want to pair with, it is
    possible to reproduce the entire LIBINPUT_DEVICE_GROUP and ensure that
    the two devices actually end up paired in libinput.
    Signed-off-by: Jason Gerecke's avatarJason Gerecke <jason.gerecke@wacom.com>
Last commit
Last update
80-libinput-device-groups.rules.in Loading commit data...
90-libinput-fuzz-override.rules.in Loading commit data...
libinput-device-group.c Loading commit data...
libinput-fuzz-override.c Loading commit data...