getting keyboard input

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

getting keyboard input

Post by VolTeK »

i waas looking over some functions on os design for tui. i foud how if you hit the down arrow it makes the function come alive. i have checked google, let me repeat, i have checked the search engine that is worshipped by this cite. now i may have searched for the wrong tags on there, and found no results that anything to do with what i am asking for.
so the question i ask here is, where can i find a list of codes i can compare ah with.

for example

Code: Select all

int ;(the int i will find out what it is)
cmp ah, 13
je enter
now 13 is a code read that indicats that the entr key was hit. can i get anymore codes for more parts of the keyboard? like the arrow buttonws, escape button
xyzzy
Member
Member
Posts: 391
Joined: Wed Jul 25, 2007 8:45 am
Libera.chat IRC: aejsmith
Location: London, UK
Contact:

Re: getting keyboard input

Post by xyzzy »

User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: getting keyboard input

Post by VolTeK »

thank you very much for answering my problem :), thats what i forgot, scan codes!
Post Reply