https://github.com/libsdl-org/Maelstrom/commit/8fab24021fd448b2aee63b12d4ea2d8af5f532b5
From 8fab24021fd448b2aee63b12d4ea2d8af5f532b5 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 25 Nov 2011 13:19:14 -0500
Subject: [PATCH] Reduced the sensitivity of the joystick controls
---
game/controls.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/game/controls.cpp b/game/controls.cpp
index 6e852dfd..0dd8baff 100644
--- a/game/controls.cpp
+++ b/game/controls.cpp
@@ -264,11 +264,11 @@ static void HandleEvent(SDL_Event *event)
}
/* X-Axis - rotate right/left */
if ( event->jaxis.axis == 0 ) {
- if ( event->jaxis.value < -8000 ) {
+ if ( event->jaxis.value < -16000 ) {
player->SetControl(LEFT_KEY, 1);
player->SetControl(RIGHT_KEY, 0);
} else
- if ( event->jaxis.value > 8000 ) {
+ if ( event->jaxis.value > 16000 ) {
player->SetControl(RIGHT_KEY, 1);
player->SetControl(LEFT_KEY, 0);
} else {
@@ -278,7 +278,7 @@ static void HandleEvent(SDL_Event *event)
} else
/* Y-Axis - accelerate */
if ( event->jaxis.axis == 1 ) {
- if ( event->jaxis.value < -16000 ) {
+ if ( event->jaxis.value < -20000 ) {
player->SetControl(THRUST_KEY, 1);
} else {
player->SetControl(THRUST_KEY, 0);