Input: ff-memless - add notion of direction to for rumble effects
authorJari Vanhala <ext-jari.vanhala@nokia.com>
Fri, 25 Dec 2009 05:52:20 +0000 (21:52 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Dec 2009 05:54:29 +0000 (21:54 -0800)
commit94ec26c855bc675259e4f1658673f458040affd7
treea5af53ce488e6f0b8e5ca521ebc861a96ed1ffa8
parent1b11c88d3e8f55dc9d193d19de11e3f7abc1b7d7
Input: ff-memless - add notion of direction to for rumble effects

This adds simple direction calculation when combining effects. It's useful
to decide motor direction for rumble (vibrator).

Signed-off-by: Jari Vanhala <ext-jari.vanhala@nokia.com>
Acked-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/ff-memless.c