commit | eb626c573219233bfd330fef9066e7f9530b078e | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Mon Mar 27 16:59:29 2017 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu Apr 06 14:36:37 2017 +0200 |
tree | 61166c333048bb03abe8c6892444112b8c235c83 | |
parent | 2936836f919af8d766a23fdf2bb945a0d74fa534 [diff] |
HID: logitech-hidpp: handle battery events in hidpp_raw_hidpp_event() Battery events are reported through HID++, so we need to be sure the report ID is the HID++ one. Without this, we might receive keyboard events that looks just like battery events with wrong data and which will confuse user space. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Tested-by: Bastien Nocera <hadess@hadess.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>