summaryrefslogtreecommitdiffstats
path: root/crypto/cast5_generic.c
diff options
context:
space:
mode:
authorDavid Herrmann2013-06-15 15:32:44 +0200
committerJiri Kosina2013-06-27 11:51:31 +0200
commitd09bbfd2a8408a995419dff0d2ba906013cf4cc9 (patch)
treeb32c7cbbf0757e8cc228ca4d96268edcaf5e0ed8 /crypto/cast5_generic.c
parentHID: wiimote: fix coccinelle warnings (diff)
downloadkernel-qcow2-linux-d09bbfd2a8408a995419dff0d2ba906013cf4cc9.tar.gz
kernel-qcow2-linux-d09bbfd2a8408a995419dff0d2ba906013cf4cc9.tar.xz
kernel-qcow2-linux-d09bbfd2a8408a995419dff0d2ba906013cf4cc9.zip
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> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'crypto/cast5_generic.c')
0 files changed, 0 insertions, 0 deletions