From: Andreas Bosch <linux@progandy.de>
To: Masaki Ota <012nexus@gmail.com>,
dmitry.torokhov@gmail.com, cernekee@gmail.com,
dturvene@dahetral.com
Cc: linux-input@vger.kernel.org, ndevos@redhat.com,
jclift@redhat.com, Masaki Ota <masaki.ota@jp.alps.com>
Subject: Re: [PATCH] Alps source code update
Date: Fri, 24 Oct 2014 10:03:58 +0200 [thread overview]
Message-ID: <544A07EE.80407@progandy.de> (raw)
In-Reply-To: <1414102883-11084-1-git-send-email-masaki.ota@jp.alps.com>
Am 24.10.2014 um 00:21 schrieb Masaki Ota:
> Signed-off-by: Masaki Ota <masaki.ota@jp.alps.com>
> - Support Alps Button-less Touchpad device(Rushmore and SS4). New device type and a data decode logic were added.
> ---
> drivers/input/mouse/alps.c | 1680 +++++++++++++++++++++++++++++++++++---------
> drivers/input/mouse/alps.h | 263 ++++++-
> 2 files changed, 1574 insertions(+), 369 deletions(-)
Hello,
This patch is reversing changes introduced in commit
02d04254a5dfb8de1459805c3433cd0e9e4853d7 (Input: alps - use struct
input_mt_pos to track coordinates), maybe some others, too. Is this
deliberate?
These are two examples of that.
> [...]
>
> * The bitmaps don't have enough data to track fingers, so this function
> * only generates points representing a bounding box of at most two contacts.
> - * These two points are returned in fields->mt.
> + * These two points are returned in x1, y1, x2, and y2.
> */
> static void alps_process_bitmap_dolphin(struct alps_data *priv,
> - struct alps_fields *fields)
> + struct alps_fields *fields,
> + int *x1, int *y1, int *x2, int *y2)
> {
> int box_middle_x, box_middle_y;
> unsigned int x_map, y_map;
> @@ -309,6 +329,8 @@ static void alps_process_bitmap_dolphin(struct alps_data *priv,
> if (x_msb > priv->x_bits || y_msb > priv->y_bits)
> return;
> [...]
>
and
> [...]
>
> @@ -168,27 +351,35 @@ struct alps_data {
> int addr_command;
>
> [...]
>
> - struct alps_fields f;
> + int x1, x2, y1, y2;
> + int fingers;
> u8 quirks;
> struct timer_list timer;
> [...]
prev parent reply other threads:[~2014-10-24 8:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-23 22:21 [PATCH] Alps source code update Masaki Ota
2014-10-24 7:18 ` Niels de Vos
2014-10-27 10:28 ` Masaki Ota
2016-05-17 9:33 ` Ben Gamari
2016-05-17 12:08 ` Masaki Ota
2016-05-17 13:58 ` Ben Gamari
2014-10-24 8:03 ` Andreas Bosch [this message]
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=544A07EE.80407@progandy.de \
--to=linux@progandy.de \
--cc=012nexus@gmail.com \
--cc=cernekee@gmail.com \
--cc=dmitry.torokhov@gmail.com \
--cc=dturvene@dahetral.com \
--cc=jclift@redhat.com \
--cc=linux-input@vger.kernel.org \
--cc=masaki.ota@jp.alps.com \
--cc=ndevos@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.