Well I have probably started the hard way as "My Mouse" (funny that is the Genius model name) is sort of special.
So far I can poll what mouse sends to the SER1 port, I have coded this little program, 'q' quits the poll.
Code: Select all
180 BAUD 1200
190 OPEN #5, ser1ir
220 REPeat poll
230 LET b = CODE( INKEY$(#5,-1) )
240 IF b <> 0 THEN
250 PRINT BIN$( b,8 )
260 LET b = CODE( INKEY$(#5,0) )
264 IF INKEY$(0) = 'q' THEN EXIT poll
265 GO TO 240
270 END IF
280 PRINT
290 END REPeat poll
300 CLOSE #5
and an extra byte for middle button.
Then series of bytes follow probably with values of X and Y deltas.
Cannot see the logic so far and not sure I will be up to decoding it.
TCAT