Dvorak 与 QWERTY 扫描码
Dvorak vs QWERTY scancodes
Dvorak 键盘使用与 QWERTY 键盘相同的扫描码吗?我的意思是,字母U在两种类型的键盘上具有相同的扫描码吗?
或者,它更像是拿 QWERTY 键盘并将塑料键顶移动到 mod 到 Dvorak 键盘吗?
谢谢。
Do Dvorak keyboards use the same scan codes as QWERTY keyboards?
这没有单一的答案,但典型和推荐的方法是将扫描码附加到键盘上的位置,但通常根据 "default" QWERTY 布局命名。参见 ISO 9995 for the main scheme and scancode set descriptions。例如,位置 D01 在 PC set 1 中的代码为 0x10,尽管它在 QWERTY 上是 Q,在 AZERTY 上是 A 或在 Dvorak 上是单引号。
USB "HID usage tables" document 明确表示:
Note A general note on Usages and languages: Due to the variation of keyboards from language to language, it is not feasible to specify exact key mappings for every language. Where this list is not specific for a key function in a language, the closest equivalent key position should be used, so that a keyboard may be modified for a different language by simply printing different keycaps. One example is the Y key on a North American keyboard. In Germany this is typically Z. Rather than changing the keyboard firmware to put the Z Usage into that place in the descriptor list, the vendor should use the Y Usage on both the North American and German keyboards. This continues to be the existing practice in the industry, in order to minimize the number of changes to the electronics to accommodate other languages.
将扫描码转换为硬件无关代码后,将应用布局转换,这就是两者之间发生差异的地方。
是与否
键码指定位置
通常扫码适用于键位(不是字母),所有键盘都一样
例如,我的键帽是为 querty
打印的,但是 OS(实际上是窗口系统)将它们映射到 dvorak(只要我不往下看,它就是好的)。
有时键码,改变
部分键盘,移动键码位置。这样做是为了让它们可以在无法更改键盘布局的系统上工作。有些有一个开关,可以在 dvorak 和 querty 之间切换。
Dvorak 键盘使用与 QWERTY 键盘相同的扫描码吗?我的意思是,字母U在两种类型的键盘上具有相同的扫描码吗?
或者,它更像是拿 QWERTY 键盘并将塑料键顶移动到 mod 到 Dvorak 键盘吗?
谢谢。
Do Dvorak keyboards use the same scan codes as QWERTY keyboards?
这没有单一的答案,但典型和推荐的方法是将扫描码附加到键盘上的位置,但通常根据 "default" QWERTY 布局命名。参见 ISO 9995 for the main scheme and scancode set descriptions。例如,位置 D01 在 PC set 1 中的代码为 0x10,尽管它在 QWERTY 上是 Q,在 AZERTY 上是 A 或在 Dvorak 上是单引号。
USB "HID usage tables" document 明确表示:
Note A general note on Usages and languages: Due to the variation of keyboards from language to language, it is not feasible to specify exact key mappings for every language. Where this list is not specific for a key function in a language, the closest equivalent key position should be used, so that a keyboard may be modified for a different language by simply printing different keycaps. One example is the Y key on a North American keyboard. In Germany this is typically Z. Rather than changing the keyboard firmware to put the Z Usage into that place in the descriptor list, the vendor should use the Y Usage on both the North American and German keyboards. This continues to be the existing practice in the industry, in order to minimize the number of changes to the electronics to accommodate other languages.
将扫描码转换为硬件无关代码后,将应用布局转换,这就是两者之间发生差异的地方。
是与否
键码指定位置
通常扫码适用于键位(不是字母),所有键盘都一样
例如,我的键帽是为 querty
打印的,但是 OS(实际上是窗口系统)将它们映射到 dvorak(只要我不往下看,它就是好的)。
有时键码,改变
部分键盘,移动键码位置。这样做是为了让它们可以在无法更改键盘布局的系统上工作。有些有一个开关,可以在 dvorak 和 querty 之间切换。