Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
aDosbox 被硬编码为使用适合 T-Mobile G1 的键盘映射。
我正在使用 G2,这是一个相当不方便的映射。
可悲的是,我对android开发完全陌生。
我一直在仔细研究代码,并设法替换了一些字符,但我认为我一定遗漏了一些非常基本的东西。
谁能指出我正确的方向?
我如何才能找到内置 G2 键盘的键码/扫描码?
启动一个小循环SDL_WaitEvent()并打印出所有SDL_KEYUP事件。
SDL_WaitEvent()
SDL_KEYUP