mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 08:53:41 +00:00
HID: hid-debug: Show application usage for each collection.
Signed-off-by: jeffbrown@android.com Reviewed-by: Benjamin Tissoires <benjamin.tissoires@logitech.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
ad395ccadb
commit
54d3339ac1
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user