hid-input/battery: deal with both FEATURE and INPUT report batteries
Some devices seem to report batteries as FEATUREs, others as INPUTs. Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
This commit is contained in:
@ -496,6 +496,7 @@ struct hid_device { /* device report descriptor */
|
||||
__s32 battery_min;
|
||||
__s32 battery_max;
|
||||
__s32 battery_val;
|
||||
__s32 battery_report_type;
|
||||
__s32 battery_report_id;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user