Re: [PATCH] don't invert mightymouse hwheel

2007-04-26 Thread Barton C Massey
In message <[EMAIL PROTECTED]> you wrote: > Alright, note that at the moment there is no way to invert it except > with xmodmap. (Since they get mapped as buttons, you can swap them there > in a trivial fashion. If you're already swapping because you're left > handed, it's even easier.) The six p

Re: [PATCH] don't invert mightymouse hwheel

2007-04-26 Thread Johannes Berg
On Thu, 2007-04-12 at 17:21 -0700, Barton C Massey wrote: > 2) You can use an xorg.conf entry as simple as [as corrected by your subsequent mail] > Section "InputDevice" > Identifier "EvMightyMouse0" > Driver "evdev" > Option "Name" "Mitsumi Electric Apple Optical USB Mouse" >

Re: [PATCH] don't invert mightymouse hwheel

2007-04-25 Thread Zephaniah E. Hull
Alright, note that at the moment there is no way to invert it except with xmodmap. (Since they get mapped as buttons, you can swap them there in a trivial fashion. If you're already swapping because you're left handed, it's even easier.) At the moment, we map positive hwheel to 6, and negative to

Re: [PATCH] don't invert mightymouse hwheel

2007-04-25 Thread Barton C Massey
As far as I can tell you have it right, all the way up the stack for me. There's so many places it can get flipped, though, that it's hard to tell. Bart In message <[EMAIL PROTECTED]> you wrote: > > --bajzpZikUji1w+G9 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: i

Re: [PATCH] don't invert mightymouse hwheel

2007-04-25 Thread Zephaniah E. Hull
On Fri, Apr 13, 2007 at 08:40:18AM +0200, Johannes Berg wrote: > On Thu, 2007-04-12 at 14:25 -0700, Barton C Massey wrote: > > > > I unfortunately don't have the hardware in question to test with. This X > > > configuration is of course perfectly valid. > > I copied it straight out of the manpag

Re: [PATCH] don't invert mightymouse hwheel

2007-04-23 Thread Johannes Berg
On Mon, 2007-04-23 at 16:07 +0200, Jiri Kosina wrote: > no, that's not the case, the bugreport states that scrolling the wheel > produces no input events at all, i.e. mapping of HID_GD_Z to REL_HWHEEL > (HID_QUIRK_MIGHTYMOUSE quirk) is needed. Good point, strange. Well, that remapping doesn't h

Re: [PATCH] don't invert mightymouse hwheel

2007-04-23 Thread Jiri Kosina
On Mon, 23 Apr 2007, Johannes Berg wrote: > > This is strange, I have a bugreport in our bugzilla which states that > > BT version of the mightymouse needs the very same quirk as USB > > version. Recent kernels contain a duplication of the USB quirk for > > Bluetooth version of the mouse, in or

Re: [PATCH] don't invert mightymouse hwheel

2007-04-23 Thread Johannes Berg
On Mon, 2007-04-23 at 15:13 +0200, Jiri Kosina wrote: > This is strange, I have a bugreport in our bugzilla which states that BT > version of the mightymouse needs the very same quirk as USB version. > Recent kernels contain a duplication of the USB quirk for Bluetooth > version of the mouse, i

Re: [PATCH] don't invert mightymouse hwheel

2007-04-23 Thread Jiri Kosina
On Mon, 23 Apr 2007, Barton C Massey wrote: > I just tried out the Bluetooth MM with 2.6.20.4 plus the bluez patches. > Everything seemed to work fine. (Actually, it was horribly slow and > laggy, but all the buttons and knobs worked and made things go in the > right directions and stuff. I'

Re: [PATCH] don't invert mightymouse hwheel

2007-04-23 Thread Barton C Massey
In message <[EMAIL PROTECTED]> you wrote: > On Thu, 12 Apr 2007, Barton C Massey wrote: > > > These results are for the USB MM. I have a Bluetooth MM now, and am > > trying to find time to get it working also. Sorry I haven't had time to > > do that yet. Soon, honest. > > Regarding the Blueto

Re: [PATCH] don't invert mightymouse hwheel

2007-04-13 Thread Johannes Berg
On Thu, 2007-04-12 at 17:21 -0700, Barton C Massey wrote: > 1) Moving the scroll ball to the right sends positive > deltas (to /dev/input/event*), and moving it to the > left sends negative deltas. This is the same as the > mouse itself, of course. My regular mouse sends positiv

Re: [PATCH] don't invert mightymouse hwheel

2007-04-13 Thread Jiri Kosina
On Thu, 12 Apr 2007, Barton C Massey wrote: > These results are for the USB MM. I have a Bluetooth MM now, and am > trying to find time to get it working also. Sorry I haven't had time to > do that yet. Soon, honest. Bart, thanks for the information. Regarding the Bluetooth mouse - I have a

Re: [PATCH] don't invert mightymouse hwheel

2007-04-12 Thread Johannes Berg
On Thu, 2007-04-12 at 17:21 -0700, Barton C Massey wrote: > After checking further I've found that my memory is correct. > With the patch as I originally submitted it (including the > INVERT_HWHEEL quirk): > > 1) Moving the scroll ball to the right sends positive > deltas (to /dev/input/ev

Re: [PATCH] don't invert mightymouse hwheel

2007-04-12 Thread Johannes Berg
On Thu, 2007-04-12 at 14:25 -0700, Barton C Massey wrote: > > I unfortunately don't have the hardware in question to test with. This X > > configuration is of course perfectly valid. I copied it straight out of the manpage so I'd hope so :> > Give me a day or so to check all this out. I don't

Re: [PATCH] don't invert mightymouse hwheel

2007-04-12 Thread Barton C Massey
I wrote: > Section "InputDevice" > Identifier "MouseMightyMouse0" > Driver "mouse" > Option "Device" "/dev/input/mouse1" > Option "Dev Name" "Mitsumi Electric Apple Optical USB Mouse" > EndSection Oops---thinko. The config I'm

Re: [PATCH] don't invert mightymouse hwheel

2007-04-12 Thread Barton C Massey
> In message <[EMAIL PROTECTED]> I wrote: > > On Thu, 12 Apr 2007, Johannes Berg wrote: > > > > > This is not true. With this X configuration: > > > > > > Section "InputDevice" > > > Identifier "EvDev" > > > Driver "evdev" > > > Option "SendCoreEven

Re: [PATCH] don't invert mightymouse hwheel

2007-04-12 Thread Barton C Massey
In message <[EMAIL PROTECTED]> you wrote: > On Thu, 12 Apr 2007, Johannes Berg wrote: > > > This is not true. With this X configuration: > > > > Section "InputDevice" > > Identifier "EvDev" > > Driver "evdev" > > Option "SendCoreEvents""true" > >

Re: [PATCH] don't invert mightymouse hwheel

2007-04-12 Thread Jiri Kosina
On Thu, 12 Apr 2007, Johannes Berg wrote: > This is not true. With this X configuration: > > Section "InputDevice" > Identifier "EvDev" > Driver "evdev" > Option "SendCoreEvents""true" > Option "evBits""+1-2" > Option

[PATCH] don't invert mightymouse hwheel

2007-04-12 Thread Johannes Berg
Commit a82e49b8aeb9f8dafdf6cf2e617c8b95bf056257 said: Further, the quirks for the Apple Mighty Mouse are not quite right: the horizontal scrolling needs its axis reversed, and the left and center buttons are transposed. This is not true. With this X configuration: Section "InputD