如何在MIPS中检测箭头键?

发布于 2025-01-21 14:56:56 字数 430 浏览 3 评论 0原文

我想阅读在键盘上按下哪些箭头键,将它们用作游戏的控件。我找到了相关问题,要读一个字符( mips with Mars Sim。 x86(如何在16位DOS中检测箭头键代码),但是我仍然对如何在MIPS中实现它有些困惑。

I'd like to read which arrow keys are pressed on the keyboard, to use them as controls for a game. I found related questions, to read a character (MIPS with Mars sim. - how to read a value from a keyboard input automatically (i.e. - no pressing enter to get the value)) or to do exactly what I need to do in x86 (How to detect arrow keys in 16-bit DOS code), but I'm still a bit confused on how to implement it in MIPS.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文