commit | b502f906db71ceae53c4f9514a0d71e2e90cfba5 | [log] [tgz] |
---|---|---|
author | Armin K <krejzi@email.com> | Wed Jul 31 01:41:03 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Aug 12 22:42:17 2013 -0700 |
tree | ec33045a9b58b9318043245e3ff342c9a40f6140 | |
parent | 7ac9f73c7ddfecd6f81fb907c4e61ed2339c95d8 [diff] |
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.