From: Tom M. <deb...@go...> - 2010-02-07 22:44:32
|
Hi, I'm currently porting stella to Palm Pre webOS (an arm7 based linux based mobile phone). I'm using version 2.5 because 3.0 crashed under any circumstances. The problem is, that I do not have such thing like a joystick on the device, therefore I tried to re-map the joystick0 events up,down,left,right to keyboard w,s,a,d.; and several other stuff to keys too (e.g. c to command menu, space to select, delete to game menu and so forth) and diabled joystick support (--disable-joystick). I had to do the mapping in the sourcecode (EventHandler.cxx) because the keymapping menu appears but is unusable because it cycles through the tabs extremely fast from alone (so in ~ 0.01 second each tab appears once or something). However at one time I managed to get into the Input preferences tab and scroll down to the up,down etc keys and it showed the correct mapping (w,s,a,d). The problem now is, that all keymappings are working beside the up,down,left,right mappings. Nothing happens If I press them. Makefile used for building, modfied parts of EventHandler.cxx, run output and config file can be found here: http://webos.pastebin.com/m40d6ca4f (I changed the --disable-joystick parameter meanwhile). Thanks in advance! - Tom |