added joystick device events handling. Fixes #1501.
This construct the solarus default joystick during gameplay if a joystick is plugged. Destruct it when it is unplugged. Fixes #1501 (closed). Fixes #1387 (closed).
Edited by std::gregwar
This construct the solarus default joystick during gameplay if a joystick is plugged. Destruct it when it is unplugged. Fixes #1501 (closed). Fixes #1387 (closed).