commit 10b94b8e2dfc86ccf3363a8a87e4a57a7fb24655
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Thu May 1 01:55:21 2014 -0400
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Thu May 1 01:55:21 2014 -0400
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);
}