shithub: choc

Download patch

ref: 10b94b8e2dfc86ccf3363a8a87e4a57a7fb24655
parent: ca2a6aee59f8bf0960cca15e8f8d681f92bb1f11
author: Simon Howard <fraggle@gmail.com>
date: Wed Apr 30 21:55:21 EDT 2014

setup: Enable joystick after calibration.

If the user has just successfully calibrated the joystick, then
turn on use_joystick as a convenience feature.

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -505,6 +505,7 @@
             // Finished?
             if (calibrate_stage == CALIBRATE_CENTER)
             {
+                use_joystick = 1;
                 TXT_CloseWindow(calibration_window);
             }