开发者

Changing keymapping in SDL program (aDosbox)

开发者 https://www.devze.com 2023-01-22 02:59 出处:网络
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.

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

精彩评论

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