At Thu, 17 Dec 2009 16:30:58 +0100 Michael Schreckenbauer <grim...@gmx.de> wrote:
> Am Donnerstag, 17. Dezember 2009 16:07:46 schrieb walt: >> That's why I was wondering if just a simple front-or-back turn of the >> wheel also produces two different button events for each notch -- you >> should see only button-4 events for forward and only button-5 events for >> backward. (I actually see two button-4 events for each notch forward, >> but the 'state' differs between the first and second event.) > > You get one event for ButtonPress and one event for ButtonRelease Correct. Remember that on the left or right motion I received two presses and two releases for two different "X-buttons". This same thing happens for other physical buttons on the beast. Fortunately the two main buttons give just button 1 and button 3 respectively. Another button just gives button 2 and the wheel rotation give button 4 in one direction and 5 in the other. So it does work as a wheeled mouse if I ignore all the other physical buttons. allan