开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜