Hello.
There are settings for synaptics-ps/2 touchpad (by Toshiba).
Could someone please commit it?
Thank you
Pauline, aka JustBeingGlad
optional (videoDriver == "intel") xorg.xf86videointel
optional (videoDriver == "nv") xorg.xf86videonv
optional (videoDriver == "ati") xorg.xf86videoati
(optional cfg.synaptics.enable ["${pkgs.synaptics}/${xorg.xorgserver}"
/*xorg.xf86inputevdev*/]);
configFile = stdenv.mkDerivation {
inherit fontDirectories videoDriver resolutions;
isClone = if cfg.isClone then "on" else "off";
synapticsInputDevice = if cfg.synaptics.enable then ''
Section "InputDevice"
Identifier "Touchpad[0]"
Driver "synaptics"
Option "Device" "${cfg.synaptics.dev}"
Option "Protocol" "PS/2"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "${cfg.synaptics.minSpeed}"
Option "MaxSpeed" "${cfg.synaptics.maxSpeed}"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
Option "Repeater" "/dev/input/mice"
xkbModel = cfg.xkbModel;
layout = cfg.layout;
corePointer = if cfg.synaptics.enable then "Touchpad[0]" else "Mouse[0]";
synaptics = {
enable = mkOption {
default = false;
example = true;
description = "
Whether to replace mouse with touchpad.
";
};
dev = mkOption {
default = "/dev/input/event0";
description = "
Event device for Synaptics touchpad.
";
};
minSpeed = mkOption {
default = "0.06";
};
maxSpeed = mkOption {
default = "0.12";
};
};
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev