Hello!

Putting the theoretical considerations aside for a moment, I also have a
very practical question:

For a project, we want to use a scroll wheel for user input. I hoped
that the MouseEvent would also handle mouse scroll events. As far as I
know, X handles scroll-up events as button 4 and scroll down as button
5. But in libavg, the button code is 0 in both cases.

Also, I have a question regarding the <x>buttonstate properties of the
MouseEvent. I had expected that this would be True whenever the
according button is pressed. So when I hold the left mouse button and
click with the right, I would have expected the MouseEvent of the right
click to have leftbuttonstate to be True. But leftbuttonstate is only
true for events with button == 1. So are <x>buttonstate properties just
another way to express the information held in the button property?

Thanks in advance,
Frederik


_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to