mirror of
https://github.com/chocolate-doom/chocolate-doom.git
synced 2025-05-29 16:11:58 +00:00
setup: Enable joystick after calibration.
If the user has just successfully calibrated the joystick, then turn on use_joystick as a convenience feature.
This commit is contained in:
parent
ca2a6aee59
commit
10b94b8e2d
1 changed files with 1 additions and 0 deletions
|
@ -505,6 +505,7 @@ static int CalibrationEventCallback(SDL_Event *event, void *user_data)
|
||||||
// Finished?
|
// Finished?
|
||||||
if (calibrate_stage == CALIBRATE_CENTER)
|
if (calibrate_stage == CALIBRATE_CENTER)
|
||||||
{
|
{
|
||||||
|
use_joystick = 1;
|
||||||
TXT_CloseWindow(calibration_window);
|
TXT_CloseWindow(calibration_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue