diff options
author | José Expósito <jose.exposito89@gmail.com> | 2021-11-18 17:52:08 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-11-19 16:01:39 +0100 |
commit | 0b91b4e4dae63cd43871fc2012370b86ee588f91 (patch) | |
tree | bbabdb4812b68e69685687c1db184f65a1ee777c /include/xen/interface/callback.h | |
parent | 5af06603c4090617be216a9185193a7be3ca60af (diff) | |
download | linux-0b91b4e4dae63cd43871fc2012370b86ee588f91.tar.gz linux-0b91b4e4dae63cd43871fc2012370b86ee588f91.tar.bz2 linux-0b91b4e4dae63cd43871fc2012370b86ee588f91.zip |
HID: magicmouse: Report battery level over USB
When connected over USB, the Apple Magic Mouse 2 and the Apple Magic
Trackpad 2 register multiple interfaces, one of them is used to report
the battery level.
However, unlike when connected over Bluetooth, the battery level is not
reported automatically and it is required to fetch it manually.
Fix the battery report descriptor and add a timer to fetch the battery
level.
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/xen/interface/callback.h')
0 files changed, 0 insertions, 0 deletions