Am Dienstag, den 05.02.2008, 20:16 +0100 schrieb Ulrich von Zadow:
> Frederik Elwert wrote:
> > Am Samstag, den 26.01.2008, 12:02 +0100 schrieb Ulrich von Zadow:
> >> Frederik Elwert wrote:
> >>> 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.
> 
> Ok - I just fixed this bug. The fix is in current svn.

Thanks, great!

> >>> 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?
> > 
> > This is more curiosity, maybe I just totally misunderstood how these
> > properties work.
> 
> No, the behaviour you expected is the one that's supposed to happen. Can 
> you file another bug so it isn't forgotten?

Just filed it.

Cheers,
Frederik


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

Reply via email to