ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
crazybyte has quit [Read error: Connection reset by peer]
crazybyte has joined #wayland
iconoclasthero has joined #wayland
rv1sr has joined #wayland
iconoclasthero has quit [Ping timeout: 480 seconds]
RAOF has quit [Remote host closed the connection]
RAOF has joined #wayland
tzimmermann has joined #wayland
iconoclasthero has joined #wayland
leon-anavi has joined #wayland
iconoclasthero has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
narodnik has quit [Quit: WeeChat 4.3.5]
iconoclasthero has joined #wayland
<wlb>
wayland-protocols Merge request !329 closed (xdg-toplevel-icon: Define that reusing a buffer is ok after wl_buffer.release)
gryffus_ has joined #wayland
gryffus has quit [Read error: No route to host]
garnacho has joined #wayland
mvlad has joined #wayland
kts has joined #wayland
sima has joined #wayland
kts has quit [Quit: Konversation terminated!]
kts has joined #wayland
kts has quit [Quit: Konversation terminated!]
mclasen has joined #wayland
nerdopolis has joined #wayland
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #wayland
fmuellner has joined #wayland
dami-lu has joined #wayland
dami-lu has quit [Quit: Leaving]
feaneron has joined #wayland
rv1sr has quit []
rv1sr has joined #wayland
Moprius has joined #wayland
vincejv_ has joined #wayland
vincejv has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
kts has joined #wayland
kts has quit [Quit: Konversation terminated!]
Moprius has quit [Remote host closed the connection]
agd5f_ has quit []
agd5f has joined #wayland
Hypfer has quit [Ping timeout: 480 seconds]
Hypfer has joined #wayland
Company has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
coldfeet has joined #wayland
Tokoyami has joined #wayland
vincejv_ has quit [Remote host closed the connection]
rv1sr has quit []
kts has joined #wayland
Company has quit [Remote host closed the connection]
Company has joined #wayland
iconoclasthero has quit [Ping timeout: 480 seconds]
rv1sr has joined #wayland
tzimmermann has quit [Quit: Leaving]
feaneron has quit [Quit: feaneron]
Company has quit [Remote host closed the connection]
Company has joined #wayland
leon-anavi has quit [Remote host closed the connection]
coldfeet has quit [Remote host closed the connection]
<Tokoyami>
Hello, I'm trying to use libinput to programmatically set the calibration matrix of an input device but the matrix is not applied after calling `libinput_device_config_calibration_set_matrix()`. Is there something else that needs to be done afterwards to apply the change? or possibly beforehand?
iconoclasthero has joined #wayland
<Tokoyami>
here is a reduced example: https://dpaste.com/BL6B4QZR6 (it's C++ but I can produce a C variant if needed)
<Tokoyami>
this was on an Xserver system but I also tried it on Wayland via KWin. libinput is 1.21 but I didn't notice anything related in the later release notes
<kennylevinsen>
Tokoyami: your example works here
<kennylevinsen>
> after : out matrix = 0.500000 0.000000 0.500000 0.000000 1.000000 0.000000
<Tokoyami>
kennylevinsen: yes, get() reads is but it's not applied to the device
<Tokoyami>
libinput list-devices | grep -B1 -C12 '/dev/input/<device>$' will still say "Calibration: identity matrix" if you run it afterwards and the inputs are not limited to only half the screen
<kennylevinsen>
the config is application state, so you're setting it for your utility
<kennylevinsen>
libinput is a library to interpret inputs - changing settings just affect how they are interpreted, it does not touch the devices
<kennylevinsen>
You can change the default behaviors using quirks and udev rules, but configuring libinput in the usual setting of Wayland or X11 is the job of the display server (i.e., your Wayland server or xorg)
<kennylevinsen>
Specifically for calibration matrix, there's the LIBINPUT_CALIBRATION_MATRIX udev prop for example
<kennylevinsen>
otherwise, if you used e.g. sway, you'd set the calibration matrix according to `man 5 sway-input`
<Tokoyami>
I see, thanks for the explanation. I guess I'll have to figure some other way to apply it on demand
iconoclasthero has quit [Ping timeout: 480 seconds]
feaneron has joined #wayland
kts has quit [Quit: Konversation terminated!]
iconoclasthero has joined #wayland
cool110 has joined #wayland
cool110 is now known as Guest983
Guest781 has quit [Ping timeout: 480 seconds]
iconoclasthero has quit [Remote host closed the connection]
iconoclasthero has joined #wayland
coldfeet has joined #wayland
lsd|2 has joined #wayland
iconoclasthero has quit [Ping timeout: 480 seconds]
Moprius has joined #wayland
Brainium has joined #wayland
iconoclasthero has joined #wayland
jadahl has quit [Ping timeout: 480 seconds]
jadahl has joined #wayland
sima has quit [Ping timeout: 480 seconds]
rasterman has joined #wayland
mvlad has quit [Remote host closed the connection]
Moprius has quit [Quit: bye]
feaneron has quit [Ping timeout: 480 seconds]
coldfeet has quit [Quit: leaving]
coldfeet has joined #wayland
rv1sr has quit []
rasterman has quit [Quit: Gettin' stinky!]
glennk has quit [Ping timeout: 480 seconds]
Fischmiep has quit [Remote host closed the connection]
feaneron has joined #wayland
Moprius has joined #wayland
Fischmiep has joined #wayland
coldfeet has quit [Remote host closed the connection]
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
ecloud has joined #wayland
ecloud_ has quit [Ping timeout: 480 seconds]
garnacho has quit [Ping timeout: 480 seconds]
<whot>
Tokoyami: what's the specific use-case you have?
<whot>
Tokoyami: the udev property is for devices that always need a calibration matrix (e.g. touchscreen panels mounted upside down) but that property is only read when the device is added. If you need runtime behaviour other than that you really need the compositor integration for it
feaneron has quit [Ping timeout: 480 seconds]
Moprius has quit [Quit: bye]
garnacho has joined #wayland
iconoclasthero has quit [Ping timeout: 480 seconds]