Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,001 of 4,675    |
|    wolfgang kern to All    |
|    Re: programming on PS2 mouse controller    |
|    28 Sep 17 14:05:00    |
      From: nowhere@never.at              I posted and copied from the wrong (serial mouse) page:              and haven't seen the required synch detection in your code.              a standard three button PS2 mouse send three byte packets:       (four byte if wheel-mouse was setup)               1.byte: b7 Y overflow        b6 X overflow        b5 Y sign bit (9 bits in total)        b4 X sign bit (-"-)        b3 =1 indicate first byte (even no guarantee)        b2 Mid button down        b1 Right button down        b0 Left button down       2.byte: b7..0 X-movement       3.byte: b7..0 Y-Movement       4.byte b7..0 Z-wheel signed byte (only if configured)       __       wolfgang              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca