Re: [PATCH v2 03/11] HID: hid-input: add usage_index argument in input_mapping and event.

2012-11-06 Thread Jiri Kosina
On Tue, 6 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 forwards this index to the input_mapping and event > >>>

Re: [PATCH v2 03/11] HID: hid-input: add usage_index argument in input_mapping and event.

2012-11-06 Thread Benjamin Tissoires
On Tue, Oct 30, 2012 at 11:09 AM, Benjamin Tissoires wrote: > On Mon, Oct 29, 2012 at 8:25 PM, Henrik Rydberg wrote: >> 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

Re: [PATCH v2 03/11] HID: hid-input: add usage_index argument in input_mapping and event.

2012-11-06 Thread Benjamin Tissoires
On Tue, Oct 30, 2012 at 11:09 AM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Mon, Oct 29, 2012 at 8:25 PM, Henrik Rydberg rydb...@euromail.se wrote: Hi Benjamin, Currently, there is no way to know the index of the current field in the .input_mapping and .event callbacks when

Re: [PATCH v2 03/11] HID: hid-input: add usage_index argument in input_mapping and event.

2012-11-06 Thread Jiri Kosina
On Tue, 6 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 forwards this index to the input_mapping and event callbacks. I

Re: [PATCH v2 03/11] HID: hid-input: add usage_index argument in input_mapping and event.

2012-10-30 Thread Benjamin Tissoires
On Mon, Oct 29, 2012 at 8:25 PM, Henrik Rydberg wrote: > 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 forwards this index to the input_mapping

Re: [PATCH v2 03/11] HID: hid-input: add usage_index argument in input_mapping and event.

2012-10-30 Thread Benjamin Tissoires
On Mon, Oct 29, 2012 at 8:25 PM, Henrik Rydberg rydb...@euromail.se wrote: 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 forwards this index to the

Re: [PATCH v2 03/11] HID: hid-input: add usage_index argument in input_mapping and event.

2012-10-29 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 forwards this index to the input_mapping and event > callbacks. I agree with the idea, but the function

Re: [PATCH v2 03/11] HID: hid-input: add usage_index argument in input_mapping and event.

2012-10-29 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 forwards this index to the input_mapping and event callbacks. I agree with the idea, but the function