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

Gerd Hoffmann kraxel at redhat.com
Mon Nov 30 14:46:42 UTC 2015


  Hi,

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

> I retried your patches again. Last time I was using a hero that has a
> companion (Lone Druid) which I need to hold Left Ctrl button almost
> all of the time (OK, probably there are other better strategies than
> this), but just now I used other hero (Phantom Lancer) and actually
> the input passthrough (mouse and keyboard are both on USB) went pretty
> well. No lag, no display freeze, just normal smooth. 
> 
> After 20 minutes of gameplay, I decided to quit the match (bot match)
> and try Lone Druid again. Just as soon as I start holding down Left
> Ctrl button, there are certain lag (video lag) happened, and sometimes
> the passthrough mouse is not detected anymore. Probably there are
> relation between the hotkey (Left Ctrl + Right Ctrl) and holding Left
> Ctrl button for a certain amount of time?

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





More information about the vfio-users mailing list