From: Henrik Rydberg <rydberg@euromail.se>
To: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Jiri Kosina <jkosina@suse.cz>, Stephane Chatty <chatty@enac.fr>,
linux-input@vger.kernel.org
Subject: Re: [PATCH 1/2] hid-mosart: ignore buttons report
Date: Mon, 13 Dec 2010 19:55:53 +0100 [thread overview]
Message-ID: <4D066C39.8060401@euromail.se> (raw)
In-Reply-To: <1292252353-3029-2-git-send-email-benjamin.tissoires@enac.fr>
On 12/13/2010 03:59 PM, Benjamin Tissoires wrote:
> This commit allows the device to be recognized as a touchscreen, and not a
> touchpad by xf86-input-evdev.
>
> The device has 2 modes. The first one is an emulation of a touchscreen by
> sending left and right button, and the second mode is the one used in
> dual-touch (sending trackingID, touch and else).
>
> That's why there is a hid report containing left and right buttons
> (9000001 and 9000002). The point is that xorg relies on these fields to
> determine if it's a touchpad or a touchscreen.
> Clearing the report (return -1) makes xorg detecting it out of the box
> as a quite pleasant (dual)touchscreen.
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
> ---
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Thanks,
Henrik
next prev parent reply other threads:[~2010-12-13 18:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-13 14:59 [PATCH 0/2] hid-mosart: small patches Benjamin Tissoires
2010-12-13 14:59 ` [PATCH 1/2] hid-mosart: ignore buttons report Benjamin Tissoires
2010-12-13 17:51 ` Chase Douglas
2010-12-13 18:55 ` Henrik Rydberg [this message]
2010-12-13 14:59 ` [PATCH 2/2] hid-mosart: support suspend/resume Benjamin Tissoires
2010-12-13 17:52 ` Chase Douglas
2010-12-13 18:56 ` Henrik Rydberg
2010-12-13 18:52 ` [PATCH 0/2] hid-mosart: small patches Henrik Rydberg
2010-12-14 10:41 ` Jiri Kosina
2010-12-14 21:29 ` Chase Douglas
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=4D066C39.8060401@euromail.se \
--to=rydberg@euromail.se \
--cc=benjamin.tissoires@enac.fr \
--cc=chatty@enac.fr \
--cc=dmitry.torokhov@gmail.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).