Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!gatech!bloom-beacon!husc6!necntc!ames!lll-tis!ptsfa!nonvon!apn From: apn@nonvon.UUCP (root) Newsgroups: comp.sys.ibm.pc Subject: Re: Logitech C7 mouse programming docs req'd Message-ID: <613@nonvon.UUCP> Date: Wed, 15-Jul-87 13:11:30 EDT Article-I.D.: nonvon.613 Posted: Wed Jul 15 13:11:30 1987 Date-Received: Sat, 18-Jul-87 08:25:28 EDT References: <189@spdcc.COM> Distribution: world Organization: NONVON Systems Computer Research Group Lines: 40 in article <189@spdcc.COM>, dyer@spdcc.COM (Steve Dyer) says: > > Does anyone have information on how to interpret the character stream > sent by the Logitech C7 serial mouse as well as information on how to > program the mouse to change its baud rate, reporting rate and report > format? > the 5 byte packed binary format: Bit: 7 6 5 4 3 2 1 0 ---------------------------------------------------------------- Byte1 1 0 0 0 0 Left Mid Right Byte2 1X7 . . . . . . 1X0 Byte3 1Y7 . . . . . . 1Y0 Byte4 2X7 . . . . . . 2X0 Byte5 2Y7 . . . . . . 2Y0 1[xy]b is 1st data report 2[xy]b is 2nd data report two successive reports are sent as shown in the packet diagram. distance data is 2's complement, relative format, range on each report is -128 to +127. Each packet, then, may contain a combined range of -256 to +254. Common mistakes in implementation: discarding second report. Brought to you from the worlds' only mouse compatible trackball designer! Alex P. Novickis VOICE: +1 707 433 0202 -- UUCP: {ihnp4,ames,qantel,sun,seismo,amdahl,lll-crg,pyramid}!ptsfa!nonvon!apn {* Only those who attempt the absurd ... will achieve the impossible *} {* I think... I think it's in my basement... Let me go upstairs and check. *} {* -escher *}