PS2 mouseInfo.status bits

Using the Potter PS2 lib:

  1. It seems to me that only some other mouse events like left / right click or mouse movement trigger the cumulative scroll position (CS) update.

  2. Decoding the mouseInfo.status bits from right to left:
    left button click
    right bitton click
    middle (scroll wheel) click
    always on
    next two bits
    11 OR 10 combined and therefore some what confusing + / - x and y movement status

To get the status (-change) you have to poll. In some situations it might be better to get an interrupt. Is this possible?

Where can I look for more information. I'm not so familar with classes, methodes ...

I've done PS/2 before, but I'm not familiar with the Potter PS/2 library. Here's what I did when I programmed a PS/2 mouse, and maybe you can apply it to what you're doing:

Let me know if you need any clarification.

Hi Zach,
thank you for the in deep reply. It helps a lot. Thanks to your impressiv documentation I understand all the mouseInfo.status bits - great!

regards MHz

@ author of the ps2 lib: update of the CS differs from other cummulative values. Is this volitional?