Home | About | Blog | Cam | Critique | Domains | Hypercard | Links | New | Newton | Reality


me   splorp.newton.connecting a stowaway keyboard.protocol
 

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.
Key     Press   Release

1        00      80
2        10      81
3        02      82
4        04      84
5        05      85
6        06      86
7        07      87
8        34      b4
9        35      b5
0        36      b6
-        30      b0
=        31      b1
bksp     32      b2
tab      19      99
q        09      89
w        0a      8a
e        0b      8b
r        0c      8c
t        0d      8d
y        0e      8e
u        3c      bc
i        3d      bd
o        3e      be
p        3f      bf
[        38      b8
]        39      b9
\        3a      ba
caps     18      98
a        11      91
s        12      92
d        13      93
f        14      94
g        15      95
h        16      96
j        44      c4
k        45      c5
l        46      c6
;        47      c7
'        40      c0
enter    41      c1
lshft    58      d8
z        03      83
x        10      90
c        2c      ac
v        2d      ad
b        2e      ae
n        2f      af
m        4c      cc
,        4d      cd
.        4e      ce
/        48      c8
rshft    59      d9
up       49      c9
lctrl    1a      9a
fn       22      a2
alt      23      a3
cmd      08      88
space    17      97
space(n) 37      b7
`        0f      8f
done     4f      cf
del      50      d0
left     51      d1
down     52      d2
right    53      d3
date     33      b3
phone    3b      bb
todo     42      c2
memo     4a      ca
Back
 
 
Newton MessagePad 2100 with a Stowaway Keyboard


Home | About | Blog | Cam | Critique | Domains | Hypercard | Links | New | Newton | Reality
 
 
 
Questions or comments regarding this site?
grant@splorp.com

Copyright © 1996-2001 Grant Hutchinson.
All rights reserved, buddy.

Page Updated: Saturday, June 07, 2003