Re: [PATCH v3 04/13] HID: hid-input: add usage_index in struct hid_usage.

2012-11-13 Thread Henrik Rydberg
Hi Benjamin, > Currently, there is no way to know the index of the current field > in the .input_mapping and .event callbacks when this field is inside > an array of HID fields. > This patch adds this index to the struct hid_usage so that this > information is available to input_mapping and event

Re: [PATCH v3 04/13] HID: hid-input: add usage_index in struct hid_usage.

2012-11-12 Thread Jiri Kosina
On Wed, 7 Nov 2012, Benjamin Tissoires wrote: > Currently, there is no way to know the index of the current field > in the .input_mapping and .event callbacks when this field is inside > an array of HID fields. > This patch adds this index to the struct hid_usage so that this > information is ava