Open incity opened 1 year ago
@Johennes could you comment on this?
@incity you need to define a custom callback and inside of it call libinput_read_state
with the state extracted from the driver's user_data
field. See e.g. https://gitlab.com/cherrypicker/unl0kr/-/blob/master/indev.c#L357.
There is no interface to register devices with libinput_read_state.(3 parameters)