Input: implement new force feedback interface
authorAnssi Hannula <anssi.hannula@gmail.com>
Wed, 19 Jul 2006 05:40:22 +0000 (01:40 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Wed, 19 Jul 2006 05:40:22 +0000 (01:40 -0400)
commit509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b
tree4d7b63c2b108510c11a89dc0ea45efe788fed779
parent806d41b756fecc1b13584e2b806b76d8934b1679
Input: implement new force feedback interface

Implement a new force feedback interface, in which all non-driver-specific
operations are separated to a common module. This includes handling effect
type validations, locking, etc.

The effects are now file descriptor specific instead of the previous strange
half-process half-fd specific behaviour. The effect memory of devices is not
emptied if the root user opens and closes the device while another user is
using effects. This is a minor change and most likely no force feedback
aware programs are affected by this negatively.

Otherwise the userspace interface is left unaltered.

Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/Makefile
drivers/input/evdev.c
drivers/input/ff-core.c [new file with mode: 0644]
drivers/input/input.c
include/linux/input.h