]> xenbits.xen.org Git - xenclient/ioemu-pq.git/commitdiff
Inject scancode that indirectly triggers WMI calls.
authorKamala Narasimhan <kamala.narasimhan@citrix.com>
Tue, 13 Oct 2009 16:01:45 +0000 (12:01 -0400)
committerKamala Narasimhan <kamala.narasimhan@citrix.com>
Tue, 13 Oct 2009 16:01:45 +0000 (12:01 -0400)
This change along with dom0 kernel changes should allow for more hotkeys to work on certain platforms like HP 6930p, 2530p.

master/new-input-code

index 0ba763d526b8e741235ae7cde6d56203070bceb0..a94b0c3c2f25476f1c5c6e7f73b7af1713c2959e 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/hid-linux.c b/hid-linux.c
-index f2e0bce..557a644 100644
+index f2e0bce..525fdb3 100644
 --- a/hid-linux.c
 +++ b/hid-linux.c
 @@ -42,12 +42,11 @@
@@ -18,7 +18,7 @@ index f2e0bce..557a644 100644
  
  #define DEBUG_HID_LINUX
  
-@@ -64,468 +63,629 @@ while (0);
+@@ -64,468 +63,633 @@ while (0);
  # define DEBUG(_format_, args...) (void)0
  #endif
  
@@ -322,6 +322,10 @@ index f2e0bce..557a644 100644
 +    case KEY_RIGHTMETA:
 +      keycode = 0x5C;
 +      first = 0xe0;
++      break;
++    case KEY_PROG1:
++      keycode = 0x1;
++      first = 0xe0;
 +      break;
      }