summaryrefslogtreecommitdiff
path: root/src/net_dedicated.c
diff options
context:
space:
mode:
authorSimon Howard2014-04-30 22:56:04 -0400
committerSimon Howard2014-04-30 22:56:04 -0400
commit4890591ba50bfc8b11cda684b223cb7c551e6dd3 (patch)
tree589edddb7f25d68f2f7f9b990b82078eca728491 /src/net_dedicated.c
parent96ff3f7bc127889c9f47e4ec17faa445ade623f1 (diff)
downloadchocolate-doom-4890591ba50bfc8b11cda684b223cb7c551e6dd3.tar.gz
chocolate-doom-4890591ba50bfc8b11cda684b223cb7c551e6dd3.tar.bz2
chocolate-doom-4890591ba50bfc8b11cda684b223cb7c551e6dd3.zip
joystick: Add virtual-physical button mapping.
The solution to solving #386 is to add a layer of indirection: the game code can only support up to ~20 joystick buttons, but this doesn't matter as long as we never want to bind more than 20 buttons to actions anyway. Redefine the game's notion of buttons to be based on "virtual" joystick buttons, and map these buttons to physical (SDL) buttons based on configuration file variables.
Diffstat (limited to 'src/net_dedicated.c')
0 files changed, 0 insertions, 0 deletions