jbmiller
Joined: 07 Oct 2006 Posts: 73 Location: Greensville,Ontario
|
PS2 keyboard quirks |
Posted: Mon Feb 05, 2007 6:43 pm |
|
|
Hello. While converting my ASM PS2 keyboard translator program over to CCS C(something to do as it's cold here) I've uncovered a quirk. Seems all the 'enhanced' or 'extended' keys(Insert,home,pageup,end,etc.) have a 0xC0 prefix byte instead of the usual break code(0xE0).Arrgh! Example.Insert key Make= 0xE0,0x70 Break should be 0xE0,0xF0,0x70. I get 0xC0,0xF0,0x70.
I have confirmed this on 2 different keyboards.If it was a 'timing' issue corrupting the data stram,I'd expect the program to display other symptoms.ONLY the enhanced key 'subset' give this problem.
Anyone else seen this, comments ? Thanks Jay |
|