adds support for graphics tablet
This commit is contained in:
parent
523776fad1
commit
f634bb6deb
4 changed files with 12 additions and 0 deletions
5
modules/unix/tablet.nix
Normal file
5
modules/unix/tablet.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
hardware.opentabletdriver.enable = true;
|
||||
hardware.uinput.enable = true;
|
||||
boot.kernelModules = [ "uinput" ];
|
||||
}
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue