From 856eebe52624ba5d780436feb349ea5ff2ee46b4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 20 Jun 2007 00:37:40 +0000 Subject: 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 --- setup/configfile.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'setup/configfile.c') 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 = -- cgit v1.2.3