linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jeffbrown@android.com
To: linux-input@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com,
	rydberg@euromail.se, chatty@enac.fr, benjamin.tissoires@enac.fr,
	Jeff Brown <jeffbrown@google.com>,
	jeffbrown@android.com
Subject: [PATCH 1/3] hid-debug: Show application usage for each collection.
Date: Sun, 24 Jul 2011 15:07:39 -0700	[thread overview]
Message-ID: <1311545261-34067-1-git-send-email-jeffbrown@android.com> (raw)

From: Jeff Brown <jeffbrown@google.com>

Signed-off-by: jeffbrown@android.com
---
 drivers/hid/hid-debug.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c
index bae4874..9a243ca 100644
--- a/drivers/hid/hid-debug.c
+++ b/drivers/hid/hid-debug.c
@@ -450,6 +450,11 @@ void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) {
 		seq_printf(f, "Logical(");
 		hid_resolv_usage(field->logical, f); seq_printf(f, ")\n");
 	}
+	if (field->application) {
+		tab(n, f);
+		seq_printf(f, "Application(");
+		hid_resolv_usage(field->application, f); seq_printf(f, ")\n");
+	}
 	tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage);
 	for (j = 0; j < field->maxusage; j++) {
 		tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n");
-- 
1.7.0.4


             reply	other threads:[~2011-07-24 22:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 22:07 jeffbrown [this message]
     [not found] ` <131154 5261-34067-2-git-send-email-jeffbrown@android.com>
2011-07-24 22:07 ` [PATCH 2/3] hid-multitouch: Filter collections by application usage jeffbrown
2011-07-25  9:16   ` Stéphane Chatty
2011-07-25  9:29     ` Benjamin Tissoires
2011-07-25 13:48       ` Stéphane Chatty
2011-07-25 18:08         ` Jeffrey Brown
     [not found]         ` <CAMu+ixi4gpKg=LW4o2nK7NDm4r+B368qh=fSvtndKfqf204K9A@mail.gmail. com>
2011-07-25 18:47           ` Stéphane Chatty
2011-07-27 12:43       ` Stéphane Chatty
2011-07-24 22:07 ` [PATCH 3/3] hid-multitouch: Add LG Display Multitouch device jeffbrown
2011-07-25  9:18   ` Stéphane Chatty
2011-07-25  9:32     ` Benjamin Tissoires

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=1311545261-34067-1-git-send-email-jeffbrown@android.com \
    --to=jeffbrown@android.com \
    --cc=benjamin.tissoires@enac.fr \
    --cc=chatty@enac.fr \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jeffbrown@google.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rydberg@euromail.se \
    /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).