summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/imx2_wdt.c
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2010-06-21 03:32:30 +0200
committerJiri Kosina <jkosina@suse.cz>2010-06-24 10:49:39 +0200
commit0b778e76c1e7ccf49f8980b594e72f984095fd26 (patch)
tree54b14fb5a51c63c83dc332990cf3d34988837d34 /drivers/watchdog/imx2_wdt.c
parentHID: magicmouse: properly account for scroll movement in state (diff)
downloadlinux-0b778e76c1e7ccf49f8980b594e72f984095fd26.tar.xz
linux-0b778e76c1e7ccf49f8980b594e72f984095fd26.zip
HID: magicmouse: add param for scroll speed
The new scroll_speed param takes an integer value from 0 to 63, where 0 is slowest and 63 is fastest. The default of 32 remains the same. This parameter also affects scroll acceleration linearly. A second part of this change is a tightly coupled modification to the scroll acceleration. Previously, scroll acceleration could be reset without lifting the scroll finger. This is rather unintuitive and hard to control in the case where a user wants faster scrolling, but wants to hold the scroll touch for longer than a moment. Note that scroll acceleration levels are now 1-7, where 7 is slowest. In the previous implementation, there were 8 levels defined, but it was impossible to start at the slowest level. In order to keep the default scroll speed unchanged, only 7 levels are used now. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Acked-by: Michael Poole <mdpoole@troilus.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/watchdog/imx2_wdt.c')
0 files changed, 0 insertions, 0 deletions