1
0
Fork 0
alistair23-linux/Documentation/input
David Herrmann 6e0fe2e572 input: document gamepad API and add extra keycodes
Until today all gamepad input drivers report their data differently. It is
nearly impossible to write applications for more than one device in a
generic way. Therefore, this patch introduces a uniform gamepad API which
will be used for all new drivers.

Instead of mapping buttons by their labels, we now map them by position.
This allows applications to work with any gamepad regardless of the labels
on the buttons. Furthermore, we standardize the ABS_* codes for analog
triggers and sticks.

For D-Pads the long overdue BTN_DPAD_* codes are introduced. They should
be fairly obvious how to use. To avoid confusion, the action buttons now
have BTN_EAST/SOUTH/WEST/NORTH aliases.

Reported-by: Todd Showalter <todd@electronjump.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2013-08-20 12:31:35 +02:00
..
alps.txt Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2013-03-11 07:49:37 -07:00
amijoy.txt Fix typos in /Documentation : Misc 2006-11-30 05:21:10 +01:00
appletouch.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
atarikbd.txt typo fixes 2007-10-20 01:34:40 +02:00
bcm5974.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
cd32.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cma3000_d0x.txt Input: add CMA3000 accelerometer driver 2010-11-30 23:05:21 -08:00
cs461x.txt Documentation cleanup: trivial misspelling, punctuation, and grammar corrections. 2008-07-26 12:00:06 -07:00
edt-ft5x06.txt Input: add driver for FT5x06 based EDT displays 2012-07-24 23:55:03 -07:00
elantech.txt Input: elantech - add v4 hardware support 2011-09-09 10:35:02 -07:00
event-codes.txt Input: introduce EV_MSC Timestamp 2012-11-15 10:13:52 +01:00
ff.txt Input: fix force feedback capability query example 2011-01-11 01:07:55 -08:00
gamepad.txt input: document gamepad API and add extra keycodes 2013-08-20 12:31:35 +02:00
gameport-programming.txt Input: remove CVS keywords 2008-05-20 12:17:39 -04:00
gpio-tilt.txt Input: add generic GPIO-tilt driver 2011-11-30 23:41:16 -08:00
iforce-protocol.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
input-programming.txt Input: fix the example of an input device driver 2008-11-11 11:41:49 -05:00
input.txt Documentation: input.txt: clarify mousedev 'cat' command syntax 2012-03-30 16:03:15 -07:00
interactive.fig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
joystick-api.txt Input: remove CVS keywords 2008-05-20 12:17:39 -04:00
joystick-parport.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
joystick.txt Documentation: Fix multiple typo in Documentation 2012-03-07 16:08:24 +01:00
multi-touch-protocol.txt Input: MT - Include win8 support 2012-07-05 07:13:51 +02:00
notifier.txt Input: add keyboard notifier documentation 2008-03-14 11:54:19 -04:00
ntrig.txt HID: ntrig: add documention 2010-08-30 15:25:18 +02:00
rotary-encoder.txt Input: rotary-encoder - add support for half-period encoders 2011-05-12 08:28:47 -07:00
sentelic.txt Input: sentelic - document the latest hardware 2011-12-23 01:15:16 -08:00
shape.fig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
walkera0701.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
xpad.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
yealink.txt Fix typos in /Documentation : Misc 2006-11-30 05:21:10 +01:00