Re: [spice-gtk 3/3] Send key release event for some keys in JP keyboard.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/31/16 22:36, Frediano Ziglio-san wrote:
--- a/src/spice-widget.c
+++ b/src/spice-widget.c
@@ -1493,6 +1493,15 @@ static gboolean key_event(GtkWidget *widget,
GdkEventKey *key)
              }
          }
          break;
+    case 0x412:                         /* KR keyboard */
+        if (key->hardware_keycode == VK_HANGUL && native_scancode == 0x38) {

To make more readable you could use DIK_LMENU from dinput.h for
the scancode.


I think DIK_LALT might be better.

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]