Logitech Magellan/SPACE MOUSE Classic Programmer's Manual page 6

Logicad3d
Table of Contents

Advertisement

<rot>
= 1
The bit has no effect on the
components of the data packet.
= 0
The rotational components of the
data packet (inputs A, B and C)
are set to zero.
Returns:
The selected mode (in the same
format as the command).
For example, the packet "m6\r" instructs the
Magellan/SPACE MOUSE to operate in 3D
mode and to transmit only the translational
component with the largest magnitude.
Mode ? Command
Function:
Interrogates the current
operating mode of the Magellan/
SPACE MOUSE.
Command: mQ\r
Returns:
m<nibble>r
<nibble>
<B7...4> < B3 > < B2 > <B1> <B0>
See complete nibble description in previous
section, Mode Set Command.
Compress Mode Set Command
Function:
Defines the extended operating
mode of the Magellan/SPACE
MOUSE and the structure of the
data packets.
Command: c<nibble1><nibble2>\r
<nibble1>
<B7...4> < B3 > < B2 > <B1> <B0>
<mouse>
This value is ignored.
<dom>
= 1
All components in the data packet
are set to zero except the
component with the largest
magnitude.
= 0
The bit has no effect on the
components of the data packet.
<tra>
= 1
The bit has no effect on the
components of the data packet.
= 0
The translational components of
the data packet (inputs X, Y and
Z) are set to zero.
<rot>
= 1
The bit has no effect on the
components of the data packet.
= 0
The rotational components of the
data packet (inputs A, B and C)
are set to zero.
<nibble2>
<B7...3> < B2
<quicktip><extkey><compress>
<quicktip>
= 1
Quicktip is enabled.
= 0
Quicktip is disabled.
<mouse><dom> <tra><rot>
<mouse><dom> <tra><rot>
> < B1 > < B0
<extkey>
<compress>
Returns:
Compress Mode ? Command
Function:
Command: cQ\r
Returns:
<nibble1>
<nibble2>
See complete nibble descriptions in previous
section, Compress Mode Set Command.
Data Request Command
Function:
Command: dQ\r
Returns:
>
See complete description of data structure in
the related section
6
= 1
State of the Magellan/SPACE
MOUSE plus (+) button appears in
bit <B1> of <nibble3> of the
keyboard response (command
"kQ\r"). State of the minus (-)
button appears in bit <B2> of
<nibble3> .
= 0
State of the Magellan/SPACE
MOUSE plus (+) button appears in
bit <B1> of <nibble2> of the
keyboard response (command
"kQ\r"). State of the minus (-)
button appears in bit <B2> of
<nibble2> .
= 1
Data packets are transmitted in
the Turbo Magellan/SPACE MOUSE
format. Note that the baud rate
does not change; the Magellan/
SPACE MOUSE still sends data at
9600 baud. The maximum data
packet transmission rate is 40 ms.
= 0
Data packets are transmitted in
the standard Magellan/SPACE
MOUSE format.
The selected compressed mode
(in the same format as the
command).
Interrogates the current
operating mode of the
Magellan/SPACE MOUSE.
c<nibble1><nibble2>\r
<B7...4> < B3 > < B2 > <B1> <B0>
<mouse><dom> <tra><rot>
<B7...3> < B2
> < B1 > < B0
<quicktip><extkey><compress>
Requests data packets from the
Magellan/SPACE MOUSE.
d <X3><X2><X1><X0>
<Y3><Y2><Y1><Y0>
<Z3><Z2><Z1><Z0>
<A3><A2><A1><A0>
<B3><B2><B1><B0>
<C3><C2><C1><C0>\r
Standard Data
Structure.
>

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Magellan/space mouse plusMagellan/space mouse plus xt

Table of Contents