kreijack / xlibinput_calibrator

Touch calibrator for libinput
MIT License
21 stars 12 forks source link

Clarify license #8

Closed Atemu closed 1 year ago

Atemu commented 1 year ago

Since this is a derivative work of xinput_calibrator and xinput, you should probably explicitly license your parts under the x11 license too and add a LICENSE/COPYING file with the MIT/X11 license text.

Currently, the situation is a bit unclear, making this hard to package & distribute.

kreijack commented 1 year ago

I updated the source:

Atemu commented 1 year ago

Thanks!

I think that should clear it for inclusion into Nixpkgs.

Also thanks for building this, it's the only way I found to calibrate my tablet on GNOME wayland that works.

Do you know whether there's a way to permanently apply the matrix other than creating a custom udev rule?

Also, do you know why the cursor (the dot) is not calibrated? Is it because this only tweaks Xwayland only?

kreijack commented 1 year ago

Frankly speaking, as X11 user I never cared the Wayland use case. However the world is going to Wayland, so I think we should care.

Could you open another issue to track this PR ? I am interested to work on it, and I would appreciate your help because you have an user case (and a hardware) to work with.

Regarding your question:

Do you know whether there's a way to permanently apply the matrix other than creating a custom udev rule?

I think that the only way is to set the new matrix with xinput (which should update the libinput); but this works only in X...

We should create a command that uses libinput_device_config_calibration_set_matrix() to set the matrix...

Atemu commented 1 year ago

https://github.com/kreijack/xlibinput_calibrator/issues/9