[vfio-users] [PATCH 2/2] input: linux evdev support

Okky Hendriansyah okky at nostratech.com
Mon Nov 30 16:44:12 UTC 2015


On November 30, 2015 at 21:46:51, Gerd Hoffmann (kraxel at redhat.com) wrote:
Hi, 

https://www.kraxel.org/cgit/qemu/log/?h=work/input-dev-event 
...

Git branch updated. Added a patch which drops all auto-repeat events. 
Lets see whenever that makes a difference ... 

Also new: Added an option to have the keyboard switch all input devices. 
Set grab-all=on to enable it, on the keyboard device, i.e. something 
like this: 

-input-linux /dev/input/by-path/platform-i8042-serio-0-event-kbd,grab-all=on 
-input-linux /dev/input/by-path/platform-i8042-serio-1-event-mouse 

cheers, 
Gerd 
Hi Gerd,

I’ve just applied your patch and play again as Lone Druid while holding the Left Ctrl button almost all of the time with no more previous issues! Now there’re no more freeze or mouse suddenly gets unregistered, it just feels responsive without any display crashes! Sweet patch! :)

The grab-all=on option also works! Although when toggling back to the host, the mouse movement still registers on the guest. So when grab-all returns the control back to the host, the mouse movement registers on both host and guest. Not a big deal actually, since the guest cursor movement mirrors what the host does.

Another thing that I noticed, that the scrolling gesture is not registered. Is it possible to pass the mouse scrolling also?

Thanks!

-- 
Okky Hendriansyah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151130/ee771a33/attachment.htm>


More information about the vfio-users mailing list