我在弄清楚扫描码、虚拟扫描码、键码、虚拟键码、虚拟键之间的区别时遇到问题:
我知道虚拟键(或虚拟键码??)是一个按下修饰符 (Ctrl, alt, shift)
我知道scancode(或者virtual scancode ??)是一个相关联的数字 键盘上的位置对于所有键盘都是相同的
屏幕上实际打印的字符的名称是什么(例如 德语特殊字符 ö ) ?
我发现这些名字在互联网上的帖子中使用不同。
谁能提供一个例子,例如:字母e和字母E
的代码是什么扫码:
虚拟扫描码:
键码:
虚拟键码:
虚拟键:
我的意思是:例如字母 e 有 2 个数字:65 和 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?