summaryrefslogtreecommitdiff
path: root/src/hexen/g_game.c
diff options
context:
space:
mode:
authorSimon Howard2014-04-28 22:03:54 -0400
committerSimon Howard2014-04-28 22:03:54 -0400
commit6d48ceda65af5e3118a43dbbfeb5b699c308cd4c (patch)
treefaac6dab668043d15b3ccd8907386f2ee89651e4 /src/hexen/g_game.c
parent15c0779ec829d8a0d83ecf33ce19e681e34f1b89 (diff)
downloadchocolate-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/hexen/g_game.c')
0 files changed, 0 insertions, 0 deletions