From 10b94b8e2dfc86ccf3363a8a87e4a57a7fb24655 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 1 May 2014 01:55:21 -0400 Subject: setup: Enable joystick after calibration. If the user has just successfully calibrated the joystick, then turn on use_joystick as a convenience feature. --- src/setup/joystick.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/setup/joystick.c b/src/setup/joystick.c index d2fecd45..792c1712 100644 --- a/src/setup/joystick.c +++ b/src/setup/joystick.c @@ -505,6 +505,7 @@ static int CalibrationEventCallback(SDL_Event *event, void *user_data) // Finished? if (calibrate_stage == CALIBRATE_CENTER) { + use_joystick = 1; TXT_CloseWindow(calibration_window); } -- cgit v1.2.3