[A89] TI-kybd codes


[Prev][Next][Index][Thread]

[A89] TI-kybd codes



I have heard that it sends a code corresponding (i.e. equal) to the value 
returned by ngetchx() (which, TI-GCC docs say, is coded to handle keycodes 
from the linkport, e.g. from the tikbd).  I don't know about the key-up 
values.  That's an interesting problem.  If the break is the smae for all 
keys, what would happen if you pressed one key, then another, released the 
first, but left the second down.  Which one would the TI see as being 
released?  TO confuse it, you would just have to change the order of key 
releases, especially if one key is an arrow key and the other is also a 
repeating key (like backspace or something).

Random Wisdom:  On the TI-89, you can detect any number of arrow keys being 
held down at once.  The codes are simply ORed together.  This works not only 
in assembly, but also in BASIC!  (with the getkey() function).

***** Interesting thing:  ngetchx() handles the TI-keyboard, I believe!

-Duncan Smith (slimey_limey)
mrslimeylimey AT hotmail DOT com
http://www.slimeylimey.tk/

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus




Follow-Ups: