CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

PS2 keyboard quirks

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jbmiller



Joined: 07 Oct 2006
Posts: 73
Location: Greensville,Ontario

View user's profile Send private message

PS2 keyboard quirks
PostPosted: Mon Feb 05, 2007 6:43 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group