]> xenbits.xen.org Git - xenclient/ioemu-pq.git/commitdiff
CTRL key injection, argument was in the wrong order.
authorJean Guyader <jean.guyader@eu.citrix.com>
Tue, 15 Sep 2009 15:54:44 +0000 (16:54 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Tue, 15 Sep 2009 15:54:44 +0000 (16:54 +0100)
master/new-input-code

index 466b6dc4f0d088a13fdbd53fa6cceb963ceaf02d..0ba763d526b8e741235ae7cde6d56203070bceb0 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/hid-linux.c b/hid-linux.c
-index f2e0bce..10c7ad8 100644
+index f2e0bce..557a644 100644
 --- a/hid-linux.c
 +++ b/hid-linux.c
 @@ -42,12 +42,11 @@
@@ -948,8 +948,8 @@ index f2e0bce..10c7ad8 100644
 +        s.st_mtime > linux_hid_driver.last_activity)
 +    {
 +        /* simulated a key press (down and up) on LEFTCTRL */
-+        linux_hid_key_event(KEY_LEFTCTRL, 1);
-+        linux_hid_key_event(KEY_LEFTCTRL, 0);
++        linux_hid_key_event(1, KEY_LEFTCTRL);
++        linux_hid_key_event(0, KEY_LEFTCTRL);
 +    }
 +    linux_hid_driver.last_activity = s.st_mtime;
 +  }