<p dir="ltr">Hi,</p>
<p dir="ltr">It took me awhile to figure out what was going on when I got my new keyboard. It turns out when you list all devices in by-id there were three entries for the keyboard. The third one was the keyboard part and the other ones were the macro keys.</p>
<p dir="ltr">Gerd, would it possible to use the device as listed by lsusb (the user pass in the bus and port numbers so a small amount of detail) because it shows only one for the keyboard. Also would it be possible to scan the keyboard details and pass that information through to the VM so the VM thinks that device is plugged into the USB port then we can use the software from the manufacturer to make the macro keys and special features work. Then press both control keys to switch the device back and forth between guest and host?</p>
<p dir="ltr">Jon</p>
<div class="gmail_quote">On 12 Apr 2016 10:04 am, "Gerd Hoffmann" <<a href="mailto:kraxel@redhat.com">kraxel@redhat.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Di, 2016-04-12 at 00:33 -0700, William Green wrote:<br>
> Using latest git:<br>
><br>
> /dev/input/event1<br>
>    id   : 046d:200a, (null), v273<br>
>    phys : "usb-0000:00:14.0-14:2"<br>
>    name : "Logitech K350"<br>
>    KEY  : [ 261 codes ]<br>
>    REL  : HWHEEL<br>
>    ABS  : VOLUME<br>
>    MSC  : SCAN<br>
>    LED  : NUML CAPSL SCROLLL COMPOSE KANA<br>
<br>
</div>Ah, that is more useful ;)<br>
<br>
Guess we should check the relative axis is actually x or y before<br>
classifying the device as mouse ...<br>
<br>
cheers,<br>
<div class="elided-text">  Gerd<br>
<br>
<br>
<br>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</div></blockquote></div>