Data Rate; Data Flow; Data Format; Cd-I Keyboard Specification - Philips CDl660 Technical Documentation Manual

Table of Contents

Advertisement

3. INPUT DEVICES
3.5 GRAPHIC TABLET/TOUCH SCREEN specification
3.5.1 Data rate
Baudrate: 1200
baud.
3.5.2 Data flow
During
normal operation
(RTS asserted) :
• Data is sent to the CD-i player
via
RXD.
• The
4
byte data packet is sent to the
CD-i
player continuously
when
the graphic tablet mouse
or pen
is
on
the
tablet's
active
area.
• If the mouse or pen is not
on
the
active area,
the graphic
tablet
should not send any data.
• Every time a button changes state
(buttonl,
button2
and/
or
pendown),
a
4
byte data packet is
sent
to the
CD-i
player.
• An
on going data packet transmission
should
not be
interrupted by a butto
n
state change
or a
mouse/
pen position
change.
3.5.3 Data format
• 1 startbit (ST).
• 7 databits
(LSB
first).
• 2
stopbits (SP).
_J 1oi11
213l4ISl61
1
ST
SPSPST
3.6 CD-i KEYBOARD specification
3.6.1
Data rate
Baudrate:
1200 baud.
3.6.2 Data flow
• Data flow during
normal
operation:
• Every time there is a keyboard b utton
state
change the
keyboard sends its current
state
(last pressed key code
or
release key code and the
special
key
(*)
status) in
a 2
byte data packet to the CD-i player via pin 2 of the
connector.
(*)
special
keys: Shift,
Capslock,
Supershift and
Control.
• If there is no button
state change,
the keyboard should
not send
any
2 byte keyboard data to the
CD-i
player.
• If one or more of the
special
keys are
pressed or
released, the keyboard sends the
2
byte data packet
with
its current
special
key
status, extension
bits
= 1
and
Key-code
= $00.
• Every time a key is released (no buttons pressed), the
keyboard sends the fo llowing data:
S3-S0:
0000
Ml-MO:
01
K7-K0: 00000000
This gives
the following
result:
first byte
$82
second
$00.
3.6.3 Data
format:
d7
1st
1
2nd 0
_J
I
0
1
1
I
2 1 3 1 4 1
5
I
6
I
7
I
1
ST
SPST
d6
S3
K6
d5
S2
KS
d4
Sl
K4
d3
so
K3
d2
dl
d0
Ml
MO
K7
K2
Kl
KO
Byte 0
Byte 1
Byte
2
Byte
3
d6
1
0
0
0
d5
btl
pd
XS
Y5
d4
bt2
0
X4
Y4
btl
= buttonl :
1 = pressed
bt2
= button2 :
1 = pressed
d3
X9
Y9
X3
Y3
d2
XS
YS
X2
Y2
dl
X7
Y7
Xl
Yl
0 = not pressed.
0
=
not
pressed.
0
=
mouse/
pen
d0
X6
Y6
XO
YO
• pd = pen down: 1
=
mouse/
pen
on active
area
not
on active area.
For
tablets with switches
built into
the pen,
these
switches will
be
identified
as
follows:
(FFGB: A
VII2-18)
switchl
:
in tip of pen
switch2: on side
of pen.
Switch 1
and
switch 2 are
equivalent
to buttons 1 and 2
respectively.
X9
..
XO:
• 10
bit
absolute horizontal position.
• Outermost left position:
$000.
Outermost
right position: $3FF.
Y9
..
YO:
• 10 bit
absolute vertical
position.
Outermost
upper
position:
$000.
Outermost
lower
position:
$3FF.
Note:
for touch
screen
btl is
equal
to bt2
and
pen down is not
relevant.
S0-S3: Status of the special keys
:
SO:
Shift
button(s) pressed
when set.
Sl
:
CapsLock
=
on
when set.
S2:
Supershift button(s) pressed
when
set.
S3: Control
button(s)
pressed when set.
• MO-Ml
: Extension
bits :
• 0 0:
Standard
Character
set (Green
Book).
• 0 1 : Character
set
1
(if
the keycode
=
$00
then
only
special
keys are
pressed.
• 1
0: Character set 2 (Future
use)
.
• 1 1:
Character set 3 (Future
use)
.
• K0-K7 Key-code. According to
character-set
ISO 8859-1
or an
extended character-set
depending
on
the
MO and Ml
bits.
• Data Range
(M&K
bits):
$000
-
$OFF
:
Standard
character set
(FFGB VI-3).
$100
: Keycode if key
released
Keycode for
special
key(s)
status.
$101
-
$1FF
:
Character
set
1.
$200
-
$2FF:
Character
set
2
(Future
use).
$300
-
$3FF
:
Character set 3 (Future
use).
Function
CAPSLOCK:
Capslock
only
affects
the
alphabetical
keys.
Capslock
=
off:
normal= lower
case ($61-$7A) shifted=
upper
case ($41-$5A).
Capslock
= on:
normal= upper
case ($41 -$5A) shifted=
lower case
($61-$7A)
.
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cdl670

Table of Contents