键盘扫描码(英语:scancode或scan code)是绝大多数计算机键盘向计算机发送的一项数据,用以报告哪些键被按下。它使用一个数字或数字序列来表示分配到键盘上的每个按键。
在内部,各种XIM 的共同机理是把调用XKB 通过上面叙述的过程把键盘扫描码转换成击键代码和键盘符号。
Internally, a common process of every XIM is to translate keyboard scan code into keycode and then to keysym, by calling XKB, whose process detail has been described in previous sections.
中文翻译:键盘上的键都分配有一个独一无二的扫描码,即和设备相关的标识符。
Assigned to each key on a keyboard is a unique value called a scan code, a device-dependent identifier for the key on the keyboard.
PC用键盘则恰恰相反,不但价格便宜,稳定可靠,而且是编码键盘,可自动扫描键盘并通过键盘用标准5芯插口发送按键的扫描码。
By contrast, PC keyboards are not only cheap, stable and reliable but also a kind of coded keyboard which can be scanned and send the scan code via a standard 5 core socket automatically.
应用推荐