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

Jump to navigation Jump to search
key mapping overview
m
(key mapping overview)
Line 29: Line 29:
* [[User:Seldon/X11 Backend|X11]]
* [[User:Seldon/X11 Backend|X11]]


== 2007-07-03 (Friday) - functionality ==
== 2007-07-06 (Friday) - functionality ==


Yesterday and the day before yesterday I have finished reviewing the backends code and uploaded last of the tables in the previous post. Today I've been looking through backends from the perspective of functional features that relate to my project.
Yesterday and the day before yesterday I have finished reviewing the backends code and uploaded last of the tables in the previous post. Today I've been looking through backends from the perspective of functional features that relate to my project.
Line 52: Line 52:
|-  height=17 style='height:12.75pt'
|-  height=17 style='height:12.75pt'
|  height=17 style='height:12.75pt' | upscaler
|  height=17 style='height:12.75pt' | upscaler
|  | MorphOS(morphos_scaler.h), wince(CEScaler.h)
|  | MorphOS(mo functionrphos_scaler.h), wince(CEScaler.h)
|  | DC, gp2x, palm(calc_scale), sdl
|  | DC, gp2x, palm(calc_scale), sdl
|-  height=17 style='height:12.75pt'
|-  height=17 style='height:12.75pt'
Line 67: Line 67:
|  |  
|  |  
|}
|}
== 2007-07-08 (Sunday) - key mapping ==
Now, that I've been looking through the backends implementation for a couple of days, I got a pretty good understanding of how they work. I am ready to start implementing my tasks on backends' refactoring. So, as agreed with sev, the first feature to be implemented is key mapping. Yesterday and today I was closely reviewing the current implementation of key mapping.
So, key mapping is used to convert key codes to other key codes which in turn are mapped to certain game actions. Key mapping takes place in the pollEvent functions of the backend OSystem classes. The actual device specific mapping is done through the Actions classes like CEActionsSmartphone. Currently only wince supports user key mapping dialogs.
In general key mapping is implemeted in wince, symbian, ds, and palm backends. Wince and symbian provide the best implementations.
69

edits

Navigation menu