New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evdev: libinput ignores the events because tablet resolution is missing #18
Comments
Adding the following lines to
Followed by:
And finally restarting Two important notes:
|
I hate to be a bother, but I'm having this issue as well and it's been a while since this was touched. |
Maybe something like this is the right approach? Can someome try adding this in
Not sure if these resolutions are correct. In the example it seems like the resolution is in dpi, which I manually computed. Does the error go away at least? |
Where would I put it? |
After `device` is created and before it is returned.
…On Oct 22, 2020 7:29 PM, "Mendel Greenberg" ***@***.***> wrote:
Where would I put it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJT7YKVNNIZUPAWFQHPEMLSMDFABANCNFSM4KJ2EJRA>
.
|
I stuck it over here: ...
# Enable position, tilt, distance and pressure change events
device.enable(
libevdev.EV_ABS.ABS_X,
libevdev.InputAbsInfo(
minimum=0,
maximum=MAX_ABS_X,
resolution=2531 # <----
)
)
device.enable(
libevdev.EV_ABS.ABS_Y,
libevdev.InputAbsInfo(
minimum=0,
maximum=MAX_ABS_Y,
resolution=2531 # <----
)
)
... |
Further testing revealed a slight lack of alignment, but that was fixed with |
@Evidlo mmm... it seems like the alignment issues persist, so either the resolution is wrong, or there is something wrong with |
Step to reproduce on Ubuntu 19.10, running wayland:
remouse
like that:no virtual tablet is created/visible
Running
libinput list-devices
return the following error:According to
libinput
documentation, we need to specify the resolution of the tablet in a60-evdev.hwdb
entry.The text was updated successfully, but these errors were encountered: