diff options
author | Simon Howard | 2014-04-30 22:56:04 -0400 |
---|---|---|
committer | Simon Howard | 2014-04-30 22:56:04 -0400 |
commit | 4890591ba50bfc8b11cda684b223cb7c551e6dd3 (patch) | |
tree | 589edddb7f25d68f2f7f9b990b82078eca728491 /src/d_ticcmd.h | |
parent | 96ff3f7bc127889c9f47e4ec17faa445ade623f1 (diff) | |
download | chocolate-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/d_ticcmd.h')
0 files changed, 0 insertions, 0 deletions