diff options
author | Simon Howard | 2014-05-01 01:55:21 -0400 |
---|---|---|
committer | Simon Howard | 2014-05-01 01:55:21 -0400 |
commit | 10b94b8e2dfc86ccf3363a8a87e4a57a7fb24655 (patch) | |
tree | dbd9cd1c12a80e6903e1a7418ca4cd5649ee3bab /src | |
parent | ca2a6aee59f8bf0960cca15e8f8d681f92bb1f11 (diff) | |
download | chocolate-doom-10b94b8e2dfc86ccf3363a8a87e4a57a7fb24655.tar.gz chocolate-doom-10b94b8e2dfc86ccf3363a8a87e4a57a7fb24655.tar.bz2 chocolate-doom-10b94b8e2dfc86ccf3363a8a87e4a57a7fb24655.zip |
setup: Enable joystick after calibration.
If the user has just successfully calibrated the joystick, then
turn on use_joystick as a convenience feature.
Diffstat (limited to 'src')
-rw-r--r-- | src/setup/joystick.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |