diff options
author | Armin K <krejzi@email.com> | 2013-07-31 01:41:03 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-08-12 22:42:17 -0700 |
commit | b502f906db71ceae53c4f9514a0d71e2e90cfba5 (patch) | |
tree | ec33045a9b58b9318043245e3ff342c9a40f6140 /weston.ini | |
parent | 7ac9f73c7ddfecd6f81fb907c4e61ed2339c95d8 (diff) | |
download | weston-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.ini | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |