shithub: choc

Download patch

ref: 441d920fc4570d68bdf6d5b1bb4b2991faf38ce9
parent: d5b850983c432dd7fdfbeac5e459ed822bbeb8b4
author: Simon Howard <fraggle@soulsphere.org>
date: Wed Apr 15 16:02:24 EDT 2015

setup: Undo axis reversal for Gameport adapter.

This reverts my last change. I was testing with the Gravis Gamepad and
had the switch for left-handed mode turned on and didn't realise
(embarrassing!)

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -300,9 +300,7 @@
 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