Date: 01 Nov 1996 From: Octavio Nogueira To: pics@parallaxinc.com Subject: Re: [PICS] keyboard ScanCodes James L. Williams wrote: > If you can program an eprom, then I would suggest using a serial to > parrall convert and use the 8 bits off of it to address an 8 bit eprom > with the ASCII code programmed into it or, write a Lookup table in your > pic program if you can spear the run. I would try the latter first. Let > Me now what you decide to do or if someone else has a better idea. I'd like to use the look up table but the scancodes but I don't want to use 256 bytes os rom to store it. I'm putting the scan codes below. Octavio -- ======================================================== Octavio Nogueira homepage: http://ourworld.compuserve.com/homepages/tato voice/fax: +55 11 240-6474 "ProPic" The first Production PIC Programmer running in Windows and under US$ 20.00. ======================================================== ,-------,---,---,---,---,,---,---,---,---,,---,---,---,---, ,-----,-----,-----, |ESC |F1 |F2 |F3 |F4 ||F5 |F6 |F7 |F8 ||F9 |F10|F11|F12| |PSCRN|SLOCK|BREAK| |76 |05 |06 |04 |0C ||03 |0B |83 |0A ||01 |09 |78 |07 | |E0 12| 7E |E1 14| '-------'---'---'---'---''---'---'---'---''---'---'---'---' '-----'-----'-----' ,---,---,---,---,---,---,---,---,---,---,---,---,---,-----, ,-----,-----,-----, ,-----,-----,-----,-----, |~ |1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |<- | |INS |HOME |PGUP | |NLOCK|/ |* |- | |0E |16 |1E |26 |25 |2E |36 |3D |3E |46 |45 |4E |55 |66 | |E0 70|E0 6C|E0 7D| | 77 |E0 4A| 7C | 7B | |---',--',--',--',--',--',--',--',--',--',--',--',--',----| |-----|-----|-----| |-----|-----|-----|-----| |TAB |Q |W |E |R |T |Y |U |I |O |P |[ |] |\ | |DEL |END |PGDN | |7 |8 |9 |+ | |0D |15 |1D |24 |2D |2C |35 |3C |43 |44 |4D |54 |5B |5D | |E0 71|E0 69|E0 7A| | 6C | 75 | 7D | 79 | |----',--',--',--',--',--',--',--',--',--',--',--',--'----| '-----'-----'-----' |-----|-----|-----|-----| |CAPS |A |S |D |F |G |H |J |K |L |; |, |ENTER | |4 |5 |6 | | |58 |1C |1B |23 |2B |34 |33 |3B |42 |4B |4C |52 |5A | | 6B | 73 | 74 | | |-----',--',--',--',--',--',--',--',--',--',--',----------| ,-----, |-----|-----|-----|-----| |SHIFT |Z |X |C |V |B |N |M |, |. |/ |SHIFT | |UP | |1 |2 |3 |ENTER| |12 |1A |22 |21 |2A |32 |31 |3A |41 |49 |4A |59 | |E0 75| | 69 | 72 | 7A |E0 5A| |----,-',--'--,'---'---'---'---'---'---'--,'--,'-----,----| ,-----|-----|-----, |-----------|-----| | |CTRL| |ALT | SPACE |ALT| |CTRL| |LEFT |DOWN |RIGHT| |0 |. | | |14 | |11 | 29 | | | | |E0 6B|E0 72|E0 74| | 70 | 71 | | '----'--'-----'---------------------------'---'------'----' '-----'-----'-----' '-----------'-----'-----' == The codes for 'F' and 'J' were wrong and have been corrected, == thanks to Antonini Fabio. == Jaap