[Spice-devel] [PATCH spice-gtk 3/3] windows: fix broken left shift

Marc-André Lureau marcandre.lureau at gmail.com
Tue Dec 13 14:20:33 PST 2011


On Windows, the received key when pressing left shift is VK_SHIFT 0x10
---
 gtk/keymaps.csv |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gtk/keymaps.csv b/gtk/keymaps.csv
index c447f46..98c723b 100644
--- a/gtk/keymaps.csv
+++ b/gtk/keymaps.csv
@@ -42,6 +42,7 @@ KEY_L,38,ANSI_L,0x25,38,75,75,38,38,15,VK_L,0x4c,38,38
 KEY_SEMICOLON,39,ANSI_Semicolon,0x29,39,76,76,39,39,51,VK_OEM_1,0xba,39,39
 KEY_APOSTROPHE,40,ANSI_Quote,0x27,40,82,82,40,40,52,VK_OEM_2,0xbf,40,40
 KEY_GRAVE,41,ANSI_Grave,0x32,41,14,14,41,41,53,VK_OEM_3,0xc0,41,41
+KEY_SHIFT,42,Shift,0x38,42,18,18,42,42,225,VK_SHIFT,0x10,42,42
 KEY_LEFTSHIFT,42,Shift,0x38,42,18,18,42,42,225,VK_LSHIFT,0xa0,42,42
 KEY_BACKSLASH,43,ANSI_Backslash,0x2a,43,93,93,43,43,50,VK_OEM_5,0xdc,43,43
 KEY_Z,44,ANSI_Z,0x6,44,26,26,44,44,29,VK_Z,0x5a,44,44
-- 
1.7.7.3



More information about the Spice-devel mailing list