From: Jean Delvare <khali@linux-fr.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Stelian Pop <stelian@popies.net>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Andrew Morton <akpm@osdl.org>,
Michael Hanselmann <linux-kernel@hansmi.ch>,
"Aristeu S. Rozanski F." <aris@cathedrallabs.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>, Robert Love <rml@novell.com>,
Rene Nussbaumer <linux-kernel@killerfox.forkbomb.ch>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Apple Motion Sensor driver
Date: Mon, 13 Nov 2006 19:14:44 +0100 [thread overview]
Message-ID: <20061113191444.1519bdb9.khali@linux-fr.org> (raw)
In-Reply-To: <1163434826.2805.2.camel@ux156>
On Mon, 13 Nov 2006 17:20:26 +0100, Johannes Berg wrote:
> On Mon, 2006-11-13 at 17:14 +0100, Stelian Pop wrote:
> >
> > + input_report_abs(ams_info.idev, ABS_X, x - ams_info.xcalib);
> > + input_report_abs(ams_info.idev, ABS_Y, y - ams_info.ycalib);
> > + input_report_abs(ams_info.idev, ABS_Z, z - ams_info.zcalib);
>
> Sorry about chiming in so late. When I tried to use this with neverball,
> ams_info.xcalib - x (and similar for the others) was more useful because
> of the way things are oriented. If I tilt my powerbook to the left then
> with this original code the mouse cursor moves to the right which is
> contrary to what neverball expects.
>
> Not sure if we want to change this or not, it sort of boils down to a
> userspace issue and we could just patch neverball to have a direction
> inversion :)
For what it's worth, the hdaps driver offers a parameter to invert the
axes at the driver level. It sounds sane to me, as ideally we should be
able to detect it from the hardware, and user-space should not need to
care about hardware specific details.
--
Jean Delvare
next prev parent reply other threads:[~2006-11-13 18:14 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-11 21:36 [PATCH] Apple Motion Sensor driver Stelian Pop
2006-11-11 21:41 ` Michael Hanselmann
2006-11-11 22:00 ` Stelian Pop
2006-11-12 8:37 ` Michael Hanselmann
2006-11-12 21:38 ` Stelian Pop
2006-11-13 18:11 ` Jean Delvare
2006-11-13 18:18 ` Dmitry Torokhov
2006-11-13 15:04 ` Dmitry Torokhov
2006-11-13 15:29 ` Stelian Pop
2006-11-13 15:53 ` Dmitry Torokhov
2006-11-13 16:14 ` Stelian Pop
2006-11-13 16:20 ` Johannes Berg
2006-11-13 18:14 ` Jean Delvare [this message]
2006-11-13 18:18 ` Johannes Berg
2006-11-13 18:24 ` Michael Hanselmann
2006-11-13 20:55 ` Stelian Pop
2006-11-13 18:20 ` Dmitry Torokhov
2006-11-13 18:55 ` Robert Love
2006-11-13 20:52 ` Stelian Pop
2006-11-13 21:23 ` Johannes Berg
2006-11-13 21:39 ` Stelian Pop
2006-11-13 18:06 ` Jean Delvare
2006-11-13 18:23 ` Henrique de Moraes Holschuh
2006-11-13 20:41 ` Stelian Pop
2006-11-14 3:09 ` Henrique de Moraes Holschuh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061113191444.1519bdb9.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=akpm@osdl.org \
--cc=aris@cathedrallabs.org \
--cc=benh@kernel.crashing.org \
--cc=dmitry.torokhov@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@hansmi.ch \
--cc=linux-kernel@killerfox.forkbomb.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
--cc=rml@novell.com \
--cc=stelian@popies.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox