原创 Stowaway 码值

2008-8-8 15:13 3000 10 10 分类: 智能手机
Stowaway protocol:
9600n81 hardware hand shaking
When the serial port is put on line, the keyboard emits:
0xf9 0xfb
When a key is pressed down, the key board emits a scancode. When a key is released, the keyboard emits the same scancode with an extra bit set. When the last key is released, the release scancode is doubled. (all in hex) Combination presses (such as lctrl+a) then look like this:
1a 11 91 9a 9a
Hence a release scancode can be ignored if the key is already considered released. Holding a key down does not repeat the scan code. These scan codes were recorded from a Visor Handspring using the Targus Stowaway keyboard, using a terminal program on the Visor.
PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
10
关闭 站长推荐上一条 /3 下一条