Open main menu

Difference between revisions of "User:Seldon/GSoC2007-ProjectDiary"

refactoring after discussion with Max
(07-12/13/14 update)
(refactoring after discussion with Max)
Line 95: Line 95:
== 2007-07-14 (Saturday) - coding :) ==
== 2007-07-14 (Saturday) - coding :) ==
I've been coding all day today. As a result we have OSystem_Common, a base class for all backends' OSystem classes, which provides hooks for key mapper and virtual keyboard. I have also created a KeyMapper class which already knows how to provide a default key mapping functionality. What still needs to be done is the custom mapping (key dialogs, basically). I've also added a virtual keyboard stub, modified the DefaultEventManager and the sky engine to make use of key mapping. You can check out the patch at http://sourceforge.net/tracker/index.php?func=detail&aid=1752243&group_id=37116&atid=418822, patch v3).
I've been coding all day today. As a result we have OSystem_Common, a base class for all backends' OSystem classes, which provides hooks for key mapper and virtual keyboard. I have also created a KeyMapper class which already knows how to provide a default key mapping functionality. What still needs to be done is the custom mapping (key dialogs, basically). I've also added a virtual keyboard stub, modified the DefaultEventManager and the sky engine to make use of key mapping. You can check out the patch at http://sourceforge.net/tracker/index.php?func=detail&aid=1752243&group_id=37116&atid=418822, patch v3).
== 2007-07-15 (Sunday) - refactoring ==
Max revied my code and I did some refactoring afterwards:
- removed OSystem_Common in favour for a modularised approach
- removed getAvailableKeys() in KeyMapper class
- hooked up key mapper and virtual keyboard in default event manager
69

edits