-
由 Benjamin Tissoires 提交于
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 callbacks. Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@gmail.com> Acked-by: NJiri Kosina <jkosina@suse.cz> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
f262d1fa