summaryrefslogtreecommitdiff
path: root/setup/configfile.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-20 00:37:40 +0000
committerSimon Howard2007-06-20 00:37:40 +0000
commit856eebe52624ba5d780436feb349ea5ff2ee46b4 (patch)
treeaea6417f30dc26af06650457e1032bbaccdf5d94 /setup/configfile.c
parentd004976261747a47389b14eaf0d695a14fa0f497 (diff)
downloadchocolate-doom-856eebe52624ba5d780436feb349ea5ff2ee46b4.tar.gz
chocolate-doom-856eebe52624ba5d780436feb349ea5ff2ee46b4.tar.bz2
chocolate-doom-856eebe52624ba5d780436feb349ea5ff2ee46b4.zip
Add new configuration options for the mouse and joystick for controls
that are available through the keyboard. Justification: this is already possible through advanced mouse drivers and programs like js2x, so there might as well be a proper interface for it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 918
Diffstat (limited to 'setup/configfile.c')
-rw-r--r--setup/configfile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup/configfile.c b/setup/configfile.c
index 0a1e9e5f..d9b17af2 100644
--- a/setup/configfile.c
+++ b/setup/configfile.c
@@ -272,6 +272,11 @@ static default_t extra_defaults_list[] =
{"joystick_x_invert", &joystick_x_invert, DEFAULT_INT, 0, 0},
{"joystick_y_axis", &joystick_y_axis, DEFAULT_INT, 0, 0},
{"joystick_y_invert", &joystick_y_invert, DEFAULT_INT, 0, 0},
+ {"joyb_strafeleft", &joybstrafeleft, DEFAULT_INT, 0, 0},
+ {"joyb_straferight", &joybstraferight, DEFAULT_INT, 0, 0},
+ {"dclick_use", &dclick_use, DEFAULT_INT, 0, 0},
+ {"mouseb_strafeleft", &mousebstrafeleft, DEFAULT_INT, 0, 0},
+ {"mouseb_straferight", &mousebstraferight, DEFAULT_INT, 0, 0},
};
static default_collection_t extra_defaults =