dyer@spdcc.COM (Steve Dyer) (07/13/87)
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 user's manual for the mouse is completely IBM-PC/DOS oriented and describes only their device driver and application utilities, and not the mouse itself as something to use outside of that environment. The default reporting format is claimed to be "5 byte packed binary, PC Mouse compatible". Any clues on how to interpret that? -- Steve Dyer dyer@harvard.harvard.edu dyer@spdcc.COM aka {ihnp4,harvard,linus,ima,bbn,m2c}!spdcc!dyer
apn@nonvon.UUCP (root) (07/15/87)
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 *}