input: add keys and mouse buttons to virtio input
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | input: add missing JIS keys to virtio inputhw/ qapi/ ui/ | +12 | 1 reply | |
| 2/3 | input: add mouse side buttons to virtio inputhw/ | +2 | 0 replies | |
| 3/3 | input: virtio: don't send mouse wheel event twicehw/ | +4 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Daniel P. Berrange |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/3] input: add keys and mouse buttons to virtio input
This patchset adds some missing keys and mouse buttons to hw/input/virtio-input-hid.c.
On a JIS keyboard such as this one (106/109 - JIS)
https://upload.wikimedia.org/wikipedia/commons/b/b2/Physical_keyboard_layouts_comparison_ANSI_ISO_KS_ABNT_JIS.png
the keys are located as follows:
muhenkan: left of spacebar
henkan: right of spacebar
katakanahiragana: right of henkan
compose: the same as menu but the existing one didn't work
ro: left of right shift
(this produces the same key code as the key right of left shift on 102/105 ISO keyboard in the linked picture and consequently this patch also adds support for those keyboards)
yen: left of backspace
The mouse buttons "side" and "extra" are the ones you use to go to the previous and next page in modern web browsers such as Firefox and Chrome.
The last patch fixes mouse wheel event sent for both button up and down by only forwarding the event when the button state is down.
Miika S (3):
input: add missing JIS keys to virtio input
input: add mouse side buttons to virtio input
input: virtio: don't send mouse wheel event twice
hw/input/virtio-input-hid.c | 15 +++++++++++++-- qapi/ui.json | 5 ++++- ui/keycodemapdb | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-)
Signature · 1 line
2.15.1