Synaptics two-finger scrolling option
svn path=/nixos/trunk/; revision=13663
This commit is contained in:
parent
67451c470b
commit
d8c1734b99
@ -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 {
|
||||
|
||||
@ -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 "";
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user