如何使用定制TI程序中的箭头键(How to use the arrow keys in a custom TI program)
我已经查看了尽可能多的功能,而且我仍然找不到可以拦截TI箭头键单击的单击功能。
I have looked at as many functions as I can and I still can't find one that lets you intercept the click of a TI arrow key click.
最满意答案
对于使用“Prog”按钮运行的Basic程序,您需要调用getKey ,它返回按下最后一个按钮的键代码。 箭头按钮被映射到代码24和34 。
更多信息可在TI-Basic Developer的“阅读按键”标题下找到。
For Basic programs, which are run with the "Prog" button, you'll need to call getKey, which returns a key code for the last button pressed. The arrow buttons are mapped to codes 24, 25, 26, and 34.
More information is available at TI-Basic Developer, underneath the heading "Reading Keypresses".
更多推荐
发布评论