From: Jean Guyader Date: Tue, 15 Sep 2009 15:54:44 +0000 (+0100) Subject: CTRL key injection, argument was in the wrong order. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ede2281fd414e3589ca9c29b145680e5b3832702;p=xenclient%2Fioemu-pq.git CTRL key injection, argument was in the wrong order. --- diff --git a/master/new-input-code b/master/new-input-code index 466b6dc..0ba763d 100644 --- a/master/new-input-code +++ b/master/new-input-code @@ -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; + }