Jens Peters

Results 190 comments of Jens Peters

> `struct libinput_device *libinput_device = wlr_libinput_get_device_handle(wlr_device)` doesn't work? Unfortunately not, those pressure related functions need a [libinput_tablet_tool](https://wayland.freedesktop.org/libinput/doc/latest/api/structlibinput__tablet__tool.html) instead of a `libinput_device`, ~That said, I haven't tried brute casting..~ trying that...

> > Unfortunately not, those pressure related functions need a [libinput_tablet_tool](https://wayland.freedesktop.org/libinput/doc/latest/api/structlibinput__tablet__tool.html) instead of a `libinput_device` > > That is unfortunate. Can you add a comment to the new function stating...

> > > Also, just curious: what is this pressure adjustment actually useful for in praxis? > > > > > > The libinput documentation explains this quite well: https://wayland.freedesktop.org/libinput/doc/latest/tablet-support.html#tablet-pressure-range...

> Whatever we do we should likely also send a MR to wlroots which exposes the handle. It seems like an oversight that its not available while everything else is....

> > > Also, just curious: what is this pressure adjustment actually useful for in praxis? > > > > > > The libinput documentation explains this quite well: https://wayland.freedesktop.org/libinput/doc/latest/tablet-support.html#tablet-pressure-range...

I've discarded the self-made version. Much better like this, but still needs above `wlroots` patch. ~Note to self to post this patch in the wlroots repo.~

I've finally created a `wlroots` issue: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/4012

> I have reproduced the issue on Arch+X11+Proton Experimental. I see a lot going wrong. Thanks a lot for diving into this! > vkd3d-proton or dxvk-nvapi must be discarding them...

This is also relevant for Fedora 42 which currently ships dkms-3.2.1. Applying ```diff diff --git a/dkms.conf b/dkms.conf index f6949c9..aeeede1 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,7 +1,7 @@ PACKAGE_NAME="new-lg4ff" PACKAGE_VERSION="0.5.0"...