hid: Implement support for side and extra buttons
authorNoah Bergbauer <noah@statshelix.com>
Fri, 26 Nov 2021 14:04:37 +0000 (15:04 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 22 Feb 2022 16:15:36 +0000 (17:15 +0100)
commit1e2d555846226a9e5fb1052fe8ba6f30480f33a9
tree29e49887ef36ac8cdad001fda84e5eeef2ef8016
parenteb3cb751c9fbba3ba3dc640ff7f7cb4fe6a55829
hid: Implement support for side and extra buttons

Simply set the respective bits and update the descriptor accordingly.

Signed-off-by: Noah Bergbauer <noah@statshelix.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20211126140437.79745-1-noah@statshelix.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/input/hid.c
hw/usb/dev-hid.c