projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e607bbe
)
input: add mouse side buttons to virtio input
author
Miika S
<miika9764@gmail.com>
Fri, 22 Dec 2017 15:25:30 +0000
(17:25 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 29 Jan 2018 08:30:25 +0000
(09:30 +0100)
Signed-off-by: Miika S <miika9764@gmail.com>
Message-Id: <
20171222152531
.1849-3-miika9764@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/virtio-input-hid.c
patch
|
blob
|
history
diff --git
a/hw/input/virtio-input-hid.c
b/hw/input/virtio-input-hid.c
index e78faec0b10f423d07b7eb0a81ff0dcc233a898a..a5917c27547a1f1cf037d6a8a53ccb5132ea138a 100644
(file)
--- a/
hw/input/virtio-input-hid.c
+++ b/
hw/input/virtio-input-hid.c
@@
-147,6
+147,8
@@
static const unsigned int keymap_button[INPUT_BUTTON__MAX] = {
[INPUT_BUTTON_MIDDLE] = BTN_MIDDLE,
[INPUT_BUTTON_WHEEL_UP] = BTN_GEAR_UP,
[INPUT_BUTTON_WHEEL_DOWN] = BTN_GEAR_DOWN,
+ [INPUT_BUTTON_SIDE] = BTN_SIDE,
+ [INPUT_BUTTON_EXTRA] = BTN_EXTRA,
};
static const unsigned int axismap_rel[INPUT_AXIS__MAX] = {