summaryrefslogtreecommitdiff
path: root/weston.ini
diff options
context:
space:
mode:
authorArmin K <krejzi@email.com>2013-07-31 01:41:03 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-08-12 22:42:17 -0700
commitb502f906db71ceae53c4f9514a0d71e2e90cfba5 (patch)
treeec33045a9b58b9318043245e3ff342c9a40f6140 /weston.ini
parent7ac9f73c7ddfecd6f81fb907c4e61ed2339c95d8 (diff)
downloadweston-b502f906db71ceae53c4f9514a0d71e2e90cfba5.tar.gz
evdev-touchpad: Set some options using weston.ini
This patch adds 3 new options to weston.ini to allow the user to change default constant_accel_factor, min_accel_factor and max_accel_factor. If no options are set, it falls back using defaults as it did before. v2: create weston_config_section_get_double and use it instead of manualy converting string to double. v3: add default values in weston_config_get_double instead of using conditionals. v4: don't pass diagonal as pointer.
Diffstat (limited to 'weston.ini')
-rw-r--r--weston.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/weston.ini b/weston.ini
index f2abceb7..ff0f3baa 100644
--- a/weston.ini
+++ b/weston.ini
@@ -57,3 +57,8 @@ path=/usr/libexec/weston-keyboard
#name=X1
#mode=1024x768
#transform=flipped-270
+
+#[touchpad]
+#constant_accel_factor = 50
+#min_accel_factor = 0.16
+#max_accel_factor = 1.0