Synaptics two-finger scrolling option

svn path=/nixos/trunk/; revision=13663
This commit is contained in:
Michael Raskin 2008-12-20 14:29:52 +00:00
parent 67451c470b
commit d8c1734b99
2 changed files with 6 additions and 0 deletions

View File

@ -1376,6 +1376,10 @@ in
default = "0.12";
description = "Cursor speed factor for highest-speed finger motion";
};
twoFingerScroll = mkOption {
default = false;
description = "Whether to enable two-finger drag-scrolling";
};
};
layout = mkOption {

View File

@ -100,6 +100,8 @@ let
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "VertTwoFingerScroll" "${if cfg.synaptics.twoFingerScroll then "1" else "0"}"
Option "HorizTwoFingerScroll" "${if cfg.synaptics.twoFingerScroll then "1" else "0"}"
EndSection
'' else "";