...
首页> 外文期刊>Nuts & volts >Get ASCLL Data from PS-2 KeYboards
【24h】

Get ASCLL Data from PS-2 KeYboards

机译:从PS-2 KeYboards获取ASCLL数据

获取原文
获取原文并翻译 | 示例

摘要

The PS-2 keyboard engineers assigned a unique code to each key. So, for example, the W key produces 0x1 D and the X key produces 0x22 (all values given in hexadecimal). These codes don't directly translate into ASCII values; 0x57 and 0x58, respectively. A PS-2 keyboard does, however, transmit key codes in a UART-type format: a start bit; eight data bits; an odd-parity bit; and a stop bit (Figure 1). The least- significant bit (LSB) of a key code gets shifted out first.
机译:PS-2键盘工程师为每个键分配了唯一的代码。因此,例如,W键产生0x1 D,X键产生0x22(所有值以十六进制给出)。这些代码不会直接转换为ASCII值。分别为0x57和0x58。但是,PS-2键盘确实以UART类型的格式传输键代码:八个数据位;奇偶校验位;和一个停止位(图1)。密钥的最低有效位(LSB)首先移出。

著录项

  • 来源
    《Nuts & volts 》 |2018年第5期| 66-71| 共6页
  • 作者

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号