]> xenbits.xensource.com Git - libvirt.git/commit
vbox: Implement virDomainSendKey
authorDawid Zamirski <dzamirski@datto.com>
Tue, 7 Apr 2015 15:37:36 +0000 (11:37 -0400)
committerJán Tomko <jtomko@redhat.com>
Wed, 8 Apr 2015 09:56:29 +0000 (11:56 +0200)
commit306a242dd7ff9fb6727cddd22f2f5bba39a15fd2
treed7e8bc31cb8b2cbf6a119b230dd82ca81bcf1613
parent445733f3a13f26d5de8f6f278211fd1c9830eb66
vbox: Implement virDomainSendKey

Since the holdtime is not supported by VBOX SDK, it's being simulated
by sleeping before sending the key-up codes. The key-up codes are
auto-generated based on XT codeset rules (adding of 0x80 to key-down)
which results in the same behavior as for QEMU implementation.
src/vbox/vbox_common.c
src/vbox/vbox_common.h