linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christopher Head <chead@chead.ca>
To: Fredrik Hallenberg <megahallon@gmail.com>
Cc: David Herrmann <dh.herrmann@gmail.com>,
	"open list:HID CORE LAYER" <linux-input@vger.kernel.org>
Subject: Re: [PATCH] HID: input: fix confusion on conflicting mappings
Date: Wed, 7 Jan 2015 21:50:04 -0800	[thread overview]
Message-ID: <20150107215004.2f3f748a@kruskal.home.chead.ca> (raw)
In-Reply-To: <CAMsZVf_UT+m_8BWqz0+aYGJB+8Z_u6xRU7efLZ-Bd7WNhn4ZYA@mail.gmail.com>

On Tue, 6 Jan 2015 13:37:26 +0100
Fredrik Hallenberg <megahallon@gmail.com> wrote:

> ...
>     if (!(field->flags & (HID_MAIN_ITEM_RELATIVE |
>                   HID_MAIN_ITEM_BUFFERED_BYTE)) &&
>         (field->flags & HID_MAIN_ITEM_VARIABLE) &&
>         usage->usage_index < field->maxusage &&
>         value == field->value[usage->usage_index]) {
> ...

This works perfectly for me, thanks.
-- 
Christopher Head

  parent reply	other threads:[~2015-01-08  5:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-31  0:57 [PATCH] HID: input: fix confusion on conflicting mappings Christopher Head
2015-01-06 12:37 ` Fredrik Hallenberg
2015-01-06 12:47   ` David Herrmann
2015-01-08  5:50   ` Christopher Head [this message]
2015-01-08  9:09     ` Fredrik Hallenberg
  -- strict thread matches above, loose matches on Subject: below --
2014-12-29 14:21 David Herrmann
2014-12-29 16:13 ` Fredrik Hallenberg
2015-01-06 21:19 ` Jiri Kosina
2015-01-06 21:29   ` David Herrmann
2015-01-06 21:42     ` Jiri Kosina

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=20150107215004.2f3f748a@kruskal.home.chead.ca \
    --to=chead@chead.ca \
    --cc=dh.herrmann@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=megahallon@gmail.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 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).