<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hi Gerd,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">On November 19, 2015 at 22:26:29, Gerd Hoffmann (<a href="mailto:kraxel@redhat.com">kraxel@redhat.com</a>) wrote:</div> <div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div></div><div>Hi,<span class="Apple-converted-space"> </span><br><br>It'll switch the keyboard only, not sure yet how to handle mice<span class="Apple-converted-space"> </span><br>switching best.<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>Is it possible to have the trigger only at the keyboard but both mouse and keyboard switch back and forth together? Since triggering from the mouse itself I can image is quite hard to detect.</p><div><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div>Yes, press both at the same time (and release, the actual switch is<span class="Apple-converted-space"> </span><br>delayed until no key is pressed any more to avoid keys being stuck in<span class="Apple-converted-space"> </span><br>pressed state). And you have to use the keyboard you've assigned to the<span class="Apple-converted-space"> </span><br>guest for that.<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>Ah, yes now I can switch the keyboard from/to the guest. </p><div><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div>/dev/input/by-path/platform-i8042-serio-0-event-kbd<span class="Apple-converted-space"> </span><br><br>cheers,<span class="Apple-converted-space"> </span><br>Gerd<span class="Apple-converted-space"> </span></div></div></span></blockquote></div><p>Thanks for pointing the correct event device for my PS/2 keyboard. I can see it also in my system. </p><p>I did try this configuration while playing Dota 2 (against bot). The mouse cursor movement and the keyboard felt native-ish, but after a while, while holding Left Ctrl and right clicking there was instability of the display. Which ended on my DisplayPort monitor not receiving any signal from the guest. Let me try disabling the <font face="Courier">-input-linux</font> line and retry the same thing again to see whether the game itself is broken or because of the additional config. If I can reproduce this issue, how can I give feedback to you?</p><p>Another note, as per Francesco’s idea I also tried your patch on my El Capitan guest. The keyboard gets registered on Clover but when I autologged in, both mouse and keyboard are not registering.</p><p><br></p><p>Best regards,</p><p><font face="helvetica, arial">-- </font><br><span data-mce-style="orphans: 2; text-align: -webkit-auto; widows: 2; background-color: #ffffff; color: #020103; font-family: 'Times New Roman', serif;" style="color: rgb(2, 1, 3);"><font face="Calibri"><b>Okky Hendriansyah</b></font></span></p></div></div></body></html>