Input: refactor evdev 32bit compat to be shareable with uinput
authorPhilip Langdale <philipl@overt.org>
Fri, 17 Oct 2008 02:31:42 +0000 (22:31 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Oct 2008 02:03:42 +0000 (22:03 -0400)
commit2d56f3a32c0e62f99c043d2579840f9731fe5855
tree3bf1539bbed43e5309dcfd634f202bb9ad0f11b2
parent49fdf6785fd660e18a1eb4588928f47e9fa29a9a
Input: refactor evdev 32bit compat to be shareable with uinput

Currently, evdev has working 32bit compatibility and uinput does not. uinput
needs the input_event code that evdev uses, so let's refactor it so it can
be shared.

[dtor@mail.ru: add fix for force feedback compat issues]
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/Makefile
drivers/input/evdev.c
drivers/input/input-compat.c [new file with mode: 0644]
drivers/input/input-compat.h [new file with mode: 0644]
drivers/input/misc/uinput.c