|
@@ -589,6 +589,7 @@ struct hid_usage_id {
|
|
|
* @raw_event: if report in report_table, this hook is called (NULL means nop)
|
|
|
* @usage_table: on which events to call event (NULL means all)
|
|
|
* @event: if usage in usage_table, this hook is called (NULL means nop)
|
|
|
+ * @report: this hook is called after parsing a report (NULL means nop)
|
|
|
* @report_fixup: called before report descriptor parsing (NULL means nop)
|
|
|
* @input_mapping: invoked on input registering before mapping an usage
|
|
|
* @input_mapped: invoked on input registering after mapping an usage
|
|
@@ -627,6 +628,7 @@ struct hid_driver {
|
|
|
const struct hid_usage_id *usage_table;
|
|
|
int (*event)(struct hid_device *hdev, struct hid_field *field,
|
|
|
struct hid_usage *usage, __s32 value);
|
|
|
+ void (*report)(struct hid_device *hdev, struct hid_report *report);
|
|
|
|
|
|
__u8 *(*report_fixup)(struct hid_device *hdev, __u8 *buf,
|
|
|
unsigned int *size);
|