kernel-ark/drivers/input/joystick
Jan Kratochvil 4994cd8dad Input: xpad - add support for leds on xbox 360 pad
Export LEDs on Xbox360 pad via led subsystem as a single device in
/sys/class/leds/xpad[0-9]+.

Xbox360 pad has four leds, which form a circle. Unfortunately the leds
can't be controlled independently and can only display a predefined
set of patterns (for example one is turned on wile others are off or
a rotating pattern - 1-2-3-4). To activate a pattern one needs to send
a specific command to the device (see http://www.free60.org/wiki/Gamepad).

Led subsystem allows us to set brightness, but there is nothing like
brightness on this device. So brightness is actually interpreted as
the command (only values between 0 and 14 are accepted).

Signed-off-by: Jan Kratochvil <honza@jikos.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2007-07-18 00:35:40 -04:00
..
iforce Input: iforce - minor clean-ups 2007-05-22 23:23:30 -04:00
a3d.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
adi.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
amijoy.c
analog.c Input: drivers/joystick - fix various sparse warnings 2007-05-03 00:52:51 -04:00
cobra.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
db9.c Input: db9 - do not ignore dev2 module parameter 2007-05-28 23:24:39 -04:00
gamecon.c Input: drivers/joystick - fix various sparse warnings 2007-05-03 00:52:51 -04:00
gf2k.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
grip_mp.c Input: grip-mp - use ARRAY_SIZE 2007-07-10 00:35:18 -04:00
grip.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
guillemot.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
interact.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
joydump.c
Kconfig Input: xpad - add support for leds on xbox 360 pad 2007-07-18 00:35:40 -04:00
magellan.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
Makefile Input: move USB gamepads under drivers/input/joystick 2007-05-08 01:41:29 -04:00
sidewinder.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
spaceball.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
spaceorb.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
stinger.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
tmdc.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
turbografx.c Input: drivers/joystick - fix various sparse warnings 2007-05-03 00:52:51 -04:00
twidjoy.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
warrior.c Input: joysticks - switch to using input_dev->dev.parent 2007-04-12 01:35:26 -04:00
xpad.c Input: xpad - add support for leds on xbox 360 pad 2007-07-18 00:35:40 -04:00