Cue Posted January 25, 2007 Posted January 25, 2007 This may be a stupid question but is it possible to create a function like _Ispressed but using scancodes. the reason I ask is because there are 4 programmable keys on a laptop and I want to make them do more than just what the default program allows. Only problem is all keys are returning a 'FF' virtual keycode so I can't distinguish which one has been pressed.
Glyph Posted January 25, 2007 Posted January 25, 2007 Excuse me if this is a bad question but... whats a "scancode"? tolle indicium
Cue Posted January 25, 2007 Author Posted January 25, 2007 in ezzetabi's words from the following postAFAIK the keycode is a code related to the 'meaning' of the key while the 'scancode' is related about the hardware position of the key.E.G.The key ~ in english keyboard returns (of course) a tilde, but in an italian keyboard will return a backslash! Because keyboards are differents. So the keycode will be different, but the scancode does not.
Glyph Posted January 25, 2007 Posted January 25, 2007 Scancode = ASCII Character Codes i presume? tolle indicium
Cue Posted January 25, 2007 Author Posted January 25, 2007 Scancode = ASCII Character Codes i presume?Um... No i dont think so, I think its a hardware code for the key rather than a code for the character the key is mapped to.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now