Matarife - 2010-09-16

Hi, thanks to kolijoco I can play PANZER GENERAL on my nokia 5800. It works on dosbox 0.73 with core=full and memsize=4 but it is too slow. On dosbox 0.72 it works well with core=dynamic and scaled to 640x360 it is really playable. With oversize=page it looks great, but after pandown i can not drag mouse cursor to the bottom of screen by touching the display - I have to use virtualkeyboard to do it. Writing this virtual keyboard I discovered that volume keys, camera key, lock slider and green key can be used. They can be mapped by these keycodes:
278 … green key /but it will also activate call screen
275 … camera key /it will also activate camera
I don't know keykodes for volume, lock slider and half pressed camera key and I can not differentiate them.  But I know that if they are pressed the provides the action of the first virtual or 0 key in actual map. So for example half pressing camera for mappings
map 0 1
0 0 50
map 1 1
vk 0 0 10 10 51
results in writing 2 (if map 0 is active) and 3 (if map 1 is active).
Volume keys and half pres of camera key are usable. I use second one as right mouse click.