diff options
author | Simon Howard | 2014-04-28 22:03:54 -0400 |
---|---|---|
committer | Simon Howard | 2014-04-28 22:03:54 -0400 |
commit | 6d48ceda65af5e3118a43dbbfeb5b699c308cd4c (patch) | |
tree | faac6dab668043d15b3ccd8907386f2ee89651e4 /src/strife/deh_weapon.c | |
parent | 15c0779ec829d8a0d83ecf33ce19e681e34f1b89 (diff) | |
download | chocolate-doom-6d48ceda65af5e3118a43dbbfeb5b699c308cd4c.tar.gz chocolate-doom-6d48ceda65af5e3118a43dbbfeb5b699c308cd4c.tar.bz2 chocolate-doom-6d48ceda65af5e3118a43dbbfeb5b699c308cd4c.zip |
setup: Detect and configure hat-based D-pads.
As a second fallback, if all joysticks are centered and no buttons
are pressed, look at the hats on the joystick to see if one of those
is uncentered. Bizarre as it seems, some gamepads actually present the
D-pad as a hat.
Diffstat (limited to 'src/strife/deh_weapon.c')
0 files changed, 0 insertions, 0 deletions