Changing keymapping in SDL program (aDosbox)
aDosbox is hard-coded to use a keymapping suitable for the T-Mobile G1.
I'm using a G2, and that is a fairly inconvenient mapping.
I'm completely new to android development, sadly.
I've been poring over the code, and have managed to substitute a few characters, but I think I must be missing something pretty basic.
Can anyone point me in the right direction?
How can I even find 开发者_开发百科the keycodes/scancodes for the built-in G2 keyboard?
How can I even find the keycodes/scancodes for the built-in G2 keyboard?
Whip up a small SDL_WaitEvent()
loop and print out all the SDL_KEYUP
events.
精彩评论