linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] hid-debug: Show application usage for each collection.
@ 2011-07-24 22:07 jeffbrown
       [not found] ` <131154 5261-34067-2-git-send-email-jeffbrown@android.com>
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: jeffbrown @ 2011-07-24 22:07 UTC (permalink / raw)
  To: linux-input
  Cc: linux-kernel, dmitry.torokhov, rydberg, chatty,
	benjamin.tissoires, Jeff Brown, jeffbrown

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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-07-27 12:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-24 22:07 [PATCH 1/3] hid-debug: Show application usage for each collection jeffbrown
     [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

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).