Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up[really minor] mouse wheel tilt (buttons 6 and 7 per xev) not passed to windows HVM correctly #2598
Comments
marmarek
added
C: windows tools
enhancement
P: minor
help wanted
labels
Jan 21, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jan 21, 2017
Member
Slightly offtopic: without Qubes tools it will not work, as gui-agent in qemu does not have it implemented:
https://github.com/QubesOS/qubes-gui-agent-xen-hvm-stubdom/blob/master/gui-agent-qemu/qubes-gui.c#L337-L346
On topic: Windows gui-agent (aka wga) does not have it implemented either:
https://github.com/QubesOS/qubes-gui-agent-windows/blob/master/gui-agent/vchan-handlers.c#L236-L265
Looking at documentation, adding Button6 and Button7 as MOUSEEVENTF_HWHEEL should do the trick.
Anyone care to send pull request?
|
Slightly offtopic: without Qubes tools it will not work, as gui-agent in qemu does not have it implemented: On topic: Windows gui-agent (aka wga) does not have it implemented either: Looking at documentation, adding Button6 and Button7 as MOUSEEVENTF_HWHEEL should do the trick. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jan 21, 2017
Member
Just to make sure - check wga logs to see if "unknown button pressed/released " messages are logged and button numbers are 6 and 7.
|
Just to make sure - check wga logs to see if "unknown button pressed/released " messages are logged and button numbers are 6 and 7. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tonsimple
Jan 22, 2017
Hm, found file
qga-20170122-001659-1372.txt in logs
This is what looks like
http://pastebin.com/fVp1z87q
Is that it?
tonsimple
commented
Jan 22, 2017
|
Hm, found file Is that it? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Yes, exactly. And buttons indeed are 6 and 7. |
tonsimple commentedJan 21, 2017
Qubes OS version (e.g.,
R3.2):3.2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):WIndows 7 HVM
Expected behavior:
If tilt works with normal fedora and debian appvms (tested, it works, tilting Logitech Performance MX wheel works in a qubes linux-based appvm with firefox if xorg.conf is correctly configured to use udev driver and correct event) then tilt should also work in Windows HVM
Actual behavior:
Windows ignores wheel tilt or interprets it as a random button click
Meanwhile, linux appvms are reacting to tilt correctly
Steps to reproduce the behavior:
Have a mouse with wheel tilt.
Have it configured so tilt events are detected and correctly passed to linux AppVMs
Have a windows 7 HVM with Qubes Tools installed
Start windows HVM
Try using the tilt feature
General notes:
I understand it's like, really really small issue :)
But I really like tilt :( and maybe someone knows a clever workaround or a fix will be easy.
Related issues: