diff options
author | Simon Howard | 2014-05-16 01:19:14 -0400 |
---|---|---|
committer | Simon Howard | 2014-05-16 01:19:14 -0400 |
commit | e0331a01741905ac665adce1da0fb04e86db4b05 (patch) | |
tree | a9d616285569fecb5aaa271b9aa9048bb1701d3e /src/setup/txt_mouseinput.c | |
parent | bbc098c3ee39ed3167d020275bf1df039df8fd41 (diff) | |
download | chocolate-doom-e0331a01741905ac665adce1da0fb04e86db4b05.tar.gz chocolate-doom-e0331a01741905ac665adce1da0fb04e86db4b05.tar.bz2 chocolate-doom-e0331a01741905ac665adce1da0fb04e86db4b05.zip |
setup: Don't leave joystick subsystem running.
Only init the joystick subsystem when we need to call the joystick
API functions, and quit the subsystem when we are finished. This avoids
conflicts with the joystick widgets that quit the subsystem while the
main code relies on it running.
This fixes a bug where trying to calibrate the joystick twice would
fail on the second attempt.
Diffstat (limited to 'src/setup/txt_mouseinput.c')
0 files changed, 0 insertions, 0 deletions