| |||||||
| Programming and Assembly Language Please read this Topic's rules!! |
![]() |
| | LinkBack | Thread Tools | Rate Thread |
| ||||
| Actually, pressing a key on a keyboard doesn't send an ASCII code at all! How would you represent all of the special keys with ASCII codes? In terms of the hardware, pressing a key on the keyboard sends a key down message, with the scan code of the key in it. Releasing the key sends a key up message, with the scan code in it. However, not all keys have a key up message. These scan codes are fixed in the keyboard. The BIOS (or OS) in the machine will convert the scan codes into sensible characters for your application to understand. If you want to see what the scan codes look like, take a look at this web page . Áedán
__________________ |
| ||||
| Thanks George, Thanks Aidan..I just never thought about this before, interesting stuff!
__________________ "Though all men live in ignorance before mystery, they need not live in darkness... Justice is foundation and ETERNAL." DKE "All that we do is touched by Ocean Yet we remain on the shore of what we know." Richard Wilbur ![]() Subscribers! Ask Pitch about a Custom Sig Graphic |
| ||||
| Even more fortunate that a few do! ":O}
__________________ "Though all men live in ignorance before mystery, they need not live in darkness... Justice is foundation and ETERNAL." DKE "All that we do is touched by Ocean Yet we remain on the shore of what we know." Richard Wilbur ![]() Subscribers! Ask Pitch about a Custom Sig Graphic |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Rate This Thread | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Peliter Question and PS2 Mod Question | Rondog | Hardware Hacking | 13 | 8th June, 2006 07:34 PM |
| 1 bios question and 1 ram question | espetado | EPoX MotherBoards | 7 | 18th March, 2003 12:16 PM |
| dumb, ignorant, stupid question!! | gdeman | General Hardware Discussion | 1 | 19th February, 2003 09:38 AM |
| 8K5A2+ RAID 0 Question(no Problems, just a question) | ronin1967 | EPoX MotherBoards | 5 | 3rd November, 2002 11:56 AM |