From mboxrd@z Thu Jan 1 00:00:00 1970 From: Barton C Massey Subject: Re: [PATCH] don't invert mightymouse hwheel Date: Thu, 26 Apr 2007 11:35:30 -0700 Message-ID: <200704261835.l3QIZU1a017664@wezen.cs.pdx.edu> References: <20070426000037.GF4831@aehallh.com> <20070425200650.GE4831@aehallh.com> <1176330232.27324.7.camel@johannes.berg> <200704122125.l3CLP9aQ005277@wezen.cs.pdx.edu> <1176446418.7052.54.camel@johannes.berg> <200704252309.l3PN9RUa018798@adara.cs.pdx.edu> Return-path: In-reply-to: Your message of "Wed, 25 Apr 2007 20:00:37 EDT." <20070426000037.GF4831@aehallh.com> Sender: owner-linux-input@atrey.karlin.mff.cuni.cz List-Help: List-Owner: List-Post: List-Unsubscribe: To: "Zephaniah E. Hull" Cc: Jiri Kosina , linux-input , "Antonio-M. Corbi Bellot" , Johannes Berg List-Id: linux-input@vger.kernel.org In message <20070426000037.GF4831@aehallh.com> 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 places that an axis can be flipped are: 1. By the input driver 2. By the evdev code 3. By the X evdev driver 4. By the xmodmap event mapping 5. By the toolkit 6. By the application itself I've seen all but 3 and 5 in various situations in practice. Five is particularly troublesome, since it's on a per-app basis, leading to inconsistent bug reports. Encourage people to use GIMP when testing, rather than Firefox/Iceweasel, as the GIMP seems to consistently get it right and isn't really subject to toolkit troubles. Somebody probably needs to write a bunch of code that will look at layers 2-4 and provide a definitive report of what's going on. In my copious spare time... Bart Massey Assoc. Prof. Computer Science Portland State University bart@cs.pdx.edu