summaryrefslogtreecommitdiff
path: root/src/setup
diff options
context:
space:
mode:
authorSimon Howard2015-04-13 20:54:08 -0400
committerSimon Howard2015-04-13 20:54:08 -0400
commitf2ee7829d74d721ba5db1657a1b85e38b7f6fc41 (patch)
tree3f74d3fa4810f5de39e30a9e87e77b541a621f37 /src/setup
parent7504716edfe360c6a72d4d10eb4213d9cfe1f551 (diff)
downloadchocolate-doom-f2ee7829d74d721ba5db1657a1b85e38b7f6fc41.tar.gz
chocolate-doom-f2ee7829d74d721ba5db1657a1b85e38b7f6fc41.tar.bz2
chocolate-doom-f2ee7829d74d721ba5db1657a1b85e38b7f6fc41.zip
setup: Invert both axes for Gameport adapter.
Directions were backwards for both X and Y axes when testing with an original Gravis Gamepad.
Diffstat (limited to 'src/setup')
-rw-r--r--src/setup/joystick.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index 09dbb4a1..664f5701 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -300,7 +300,9 @@ static const joystick_config_t buffalo_classic_controller[] =
static const joystick_config_t pc_gameport_controller[] =
{
{"joystick_x_axis", 0},
+ {"joystick_x_invert", 1},
{"joystick_y_axis", 1},
+ {"joystick_y_invert", 1},
// Button configuration is the default as used for Vanilla Doom,
// Heretic and Hexen. When playing with a Gravis Gamepad, this
// layout should also be vaguely similar to the standard layout