Jump to content

_Ispressed but using scancodes


Cue
 Share

Recommended Posts

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.

Link to comment
Share on other sites

in ezzetabi's words from the following post

AFAIK 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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...