Mercurial > projects > mde
diff mde/input/joystick.d @ 10:4c3575400769
DefaultData largely rewritten with unittest, SDL input event handling completed with unittest, changes to Init threading.
Init threads now catch own exceptions.
Doc: assigned some inputID devisions.
Added support for remaining SDL events.
Input axes' output is now stored with a short instead of a real.
Input unittest written (for SDL event handling).
Rewrote most of mde.mergetag.defaultdata using generic programming to generate read & write rules for all types. As a direct result, defaultdata can now write properly.
DefaultData unittest written (also provides testing for mergetag read/write).
Moved mde.text.parse/format to tango.scrapple.text.convert.parseTo/parseFrom with many changes.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Mon, 18 Feb 2008 11:54:56 +0000 |
parents | 1885a9080f2a |
children | 5f90774ea1ef |
line wrap: on
line diff
--- a/mde/input/joystick.d Wed Jan 30 11:33:56 2008 +0000 +++ b/mde/input/joystick.d Mon Feb 18 11:54:56 2008 +0000 @@ -9,7 +9,7 @@ private Logger logger; static this() { - logger = Log.getLogger ("mde.input.config"); + logger = Log.getLogger ("mde.input.joystick"); } private SDL_Joystick*[] joysticks; // pointers to all joystick structs, whether successfully opened or not