adds support for graphics tablet

This commit is contained in:
Dennis Schoepf 2025-12-06 23:20:33 +01:00
parent 523776fad1
commit f634bb6deb
4 changed files with 12 additions and 0 deletions

5
modules/unix/tablet.nix Normal file
View file

@ -0,0 +1,5 @@
{
hardware.opentabletdriver.enable = true;
hardware.uinput.enable = true;
boot.kernelModules = [ "uinput" ];
}

View file

@ -50,6 +50,11 @@ input {
// middle-emulation
}
tablet {
map-to-output "DP-3"
// calibration-matrix 1.0 1.0 1.0 1.0 1.0 1.0
}
// Uncomment this to make the mouse warp to the center of newly focused windows.
// warp-mouse-to-focus