Example for scancode vs virtual scancode vs keycode vs virtual keycode vs virtual key

378 views Asked by At

I have problems figuring out the the difference between scancode, virtual scancode, keycode, virtual keycode, virtual key:

  • I know that virtual Key (or virtual keycode ??) is a pressed modifier (Ctrl, alt, shift)

  • I know that scancode (or virtual scancode ??) is a number associated with the position on the keyboard which is the same for all keyboards

  • What`s the name of the actual printed character on the screen ( e.g. the german special character รถ ) ?

I find those names used differently on posts on the internet.

Can anyone please provide an example e.g.: What are those codes for the letter e and the letter E

  • scancode:

  • virtual scancode:

  • keycode:

  • virtual keycode:

  • virtual key:

What I mean is this: For example for the letter e there are 2 numbers: 65 and 18.

 - 65 is the unicode number. Is this number *called* scancode, virtual scancode, keycode, virtual keycode or  virtual key?

 - 18 is the position on the physical keyboard. Is this number *called* scancode, virtual scancode, keycode, virtual keycode or  virtual key?

 - Then I have the Shift-Key. Is this number produced by this key *called* scancode, virtual scancode, keycode, virtual keycode or  virtual key?
0

There are 0 answers