diff options
author | Simon Howard | 2014-04-28 20:22:08 -0400 |
---|---|---|
committer | Simon Howard | 2014-04-28 20:22:08 -0400 |
commit | a9be9d879ad141ba6f0153bbf7e823256495065b (patch) | |
tree | 3d580e3d7b7071aed680dfe3a66b72d587770d53 /pcsound/pcsound.c | |
parent | 797a9a563b2e90849bc6eb79169a9381896eeb15 (diff) | |
download | chocolate-doom-a9be9d879ad141ba6f0153bbf7e823256495065b.tar.gz chocolate-doom-a9be9d879ad141ba6f0153bbf7e823256495065b.tar.bz2 chocolate-doom-a9be9d879ad141ba6f0153bbf7e823256495065b.zip |
joystick: Add support for "button axes".
Some gamepads, notably the PS3 SIXAXIS controller, provide the D-pad
not as a pair of axes, but rather as four separate buttons. Define a
special axis numbering scheme that packs two button numbers into a
single number, and allow an axis to be defined this way.
Diffstat (limited to 'pcsound/pcsound.c')
0 files changed, 0 insertions, 0 deletions