Mercurial > projects > mde
diff mde/input/joystick.d @ 95:2a364c7d82c9
Boolean options can be adjusted from the gui now (using a very basic widget). Also some bug-fixes.
Fixed a minor bug where layouts with the same id but without shared alignments would be messed up.
Tracked down the "nothing trawn until a resize" bug (see jobs.txt).
If widgets throw during creation they're now replaced by debug widgets.
Function pointers are converted to delegates using a safer method.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 06 Nov 2008 11:07:18 +0000 |
parents | 97e6dce08037 |
children |
line wrap: on
line diff
--- a/mde/input/joystick.d Thu Oct 23 17:45:49 2008 +0100 +++ b/mde/input/joystick.d Thu Nov 06 11:07:18 2008 +0000 @@ -54,6 +54,7 @@ StageState closeJoysticks () { foreach (js; joysticks) { // NOTE: This sometimes causes a SIGSEGV (Address boundary error) when init fails. + debug logger.trace ("Calling SDL_JoystickClose"); if(js !is null) SDL_JoystickClose(js); // only close if successfully opened } return StageState.INACTIVE;