Hi Peter, This patch needs to be reverted plus a check for pad in wcmCommon.c before sending absolute wheel button events (line 579).
Only absolute wheels on the pad (normally touch rings) can send button events. Absolute wheels that are defined for the stylus, such as airbrush wheel or ArtPen rotation should only report raw data. It would be up to the application to translate those data in a way they like. I will make a patch this evening (I am working on the legacy systems now). Do you prefer me to make a patch that includes both the reverting below and the fix for wcmCommon.c or just the fix? Ping On Mon, May 10, 2010 at 10:18 AM, Emil Assarsson <[email protected]> wrote: > I reverted "Always init wheel buttons to 4/5." > 0fbd3e34d792cb17163c1974d7e8ce93c24242a0 and got rid of the problem > :-) > > On Mon, May 10, 2010 at 6:10 PM, Ping Cheng <[email protected]> wrote: >> It is a bug in the xf86-input-wacom code. We will fix it when we get a >> chance. >> >> Ping >> >> On Mon, May 10, 2010 at 9:03 AM, Emil Assarsson >> <[email protected]> wrote: >>> Hi, >>> >>> I'm getting button events on wheel axis with the new (git version) >>> xf86-input-wacom and xorg 1.7.6. >>> it probably makes sens with tools like airbrush and mouse... but it's >>> just a strange experience with the Art pen. >>> Everything that is using this inputs like scroll windows, spin buttons >>> and tabbed windows just jumps around uncontrollable. >>> >>> xidump -u raw artpen >>> ------ >>> 8.96991396: Motion: x=+51937 y=+47738 p= 0 tx= +5 ty= +3 w= +475 >>> 8.97795105: Motion: x=+51913 y=+47763 p= 0 tx= +7 ty= +2 w= +427 >>> 8.97796011: Button: 4 DOWN >>> 8.97796392: Button: 4 UP >>> 8.98590994: Motion: x=+51890 y=+47796 p= 0 tx= +6 ty= +2 w= +427 >>> 8.99394989: Motion: x=+51890 y=+47812 p= 0 tx= +6 ty= +3 w= +398 >>> 8.99395895: Button: 4 DOWN >>> 8.99396300: Button: 4 UP >>> 9.00191402: Motion: x=+51898 y=+47828 p= 0 tx= +6 ty= +2 w= +398 >>> 9.00994897: Motion: x=+51896 y=+47895 p= 0 tx= +7 ty= +2 w= +375 >>> 9.00995803: Button: 4 DOWN >>> 9.00996208: Button: 4 UP >>> 9.01790905: Motion: x=+51916 y=+47983 p= 0 tx= +7 ty= +1 w= +375 >>> 9.02597690: Motion: x=+51983 y=+48058 p= 0 tx= +8 ty= +0 w= +370 >>> 9.02598596: Button: 4 DOWN >>> 9.02599001: Button: 4 UP >>> 9.03790808: Motion: x=+52064 y=+48101 p= 0 tx= +7 ty= +1 w= +370 >>> ----- >>> >>> -- >>> Emil >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Linuxwacom-discuss mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss >>> >> > > -- > Emil > ------------------------------------------------------------------------------ _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
