|
@@ -626,6 +626,7 @@ struct hid_usage_id {
|
|
* @report_fixup: called before report descriptor parsing (NULL means nop)
|
|
* @report_fixup: called before report descriptor parsing (NULL means nop)
|
|
* @input_mapping: invoked on input registering before mapping an usage
|
|
* @input_mapping: invoked on input registering before mapping an usage
|
|
* @input_mapped: invoked on input registering after mapping an usage
|
|
* @input_mapped: invoked on input registering after mapping an usage
|
|
|
|
+ * @input_configured: invoked just before the device is registered
|
|
* @feature_mapping: invoked on feature registering
|
|
* @feature_mapping: invoked on feature registering
|
|
* @suspend: invoked on suspend (NULL means nop)
|
|
* @suspend: invoked on suspend (NULL means nop)
|
|
* @resume: invoked on resume if device was not reset (NULL means nop)
|
|
* @resume: invoked on resume if device was not reset (NULL means nop)
|
|
@@ -670,6 +671,8 @@ struct hid_driver {
|
|
int (*input_mapped)(struct hid_device *hdev,
|
|
int (*input_mapped)(struct hid_device *hdev,
|
|
struct hid_input *hidinput, struct hid_field *field,
|
|
struct hid_input *hidinput, struct hid_field *field,
|
|
struct hid_usage *usage, unsigned long **bit, int *max);
|
|
struct hid_usage *usage, unsigned long **bit, int *max);
|
|
|
|
+ void (*input_configured)(struct hid_device *hdev,
|
|
|
|
+ struct hid_input *hidinput);
|
|
void (*feature_mapping)(struct hid_device *hdev,
|
|
void (*feature_mapping)(struct hid_device *hdev,
|
|
struct hid_field *field,
|
|
struct hid_field *field,
|
|
struct hid_usage *usage);
|
|
struct hid_usage *usage);
|