Commit 746706b3 authored by Huw D M Davies's avatar Huw D M Davies Committed by Alexandre Julliard

index == 3 corresponds to Alt-Gr + Shift.

parent 8065188d
...@@ -872,7 +872,8 @@ WORD X11DRV_KEYBOARD_VkKeyScan(CHAR cChar) ...@@ -872,7 +872,8 @@ WORD X11DRV_KEYBOARD_VkKeyScan(CHAR cChar)
WARN(keyboard,"Keysym %lx not found while parsing the keycode table\n",keysym); break; WARN(keyboard,"Keysym %lx not found while parsing the keycode table\n",keysym); break;
case 0 : break; case 0 : break;
case 1 : highbyte = 0x0100; break; case 1 : highbyte = 0x0100; break;
case 2 : highbyte = 0X0600; break; case 2 : highbyte = 0x0600; break;
case 3 : highbyte = 0x0700; break;
default : ERR(keyboard,"index %d found by XKeycodeToKeysym. please report! \n",index); default : ERR(keyboard,"index %d found by XKeycodeToKeysym. please report! \n",index);
} }
/* /*
...@@ -880,7 +881,7 @@ WORD X11DRV_KEYBOARD_VkKeyScan(CHAR cChar) ...@@ -880,7 +881,7 @@ WORD X11DRV_KEYBOARD_VkKeyScan(CHAR cChar)
index : 1 adds 0x0100 (shift) index : 1 adds 0x0100 (shift)
index : ? adds 0x0200 (ctrl) index : ? adds 0x0200 (ctrl)
index : 2 adds 0x0600 (ctrl+alt) index : 2 adds 0x0600 (ctrl+alt)
index : ? adds 0x0700 (ctrl+alt+shift (used?)) index : 3 adds 0x0700 (ctrl+alt+shift)
*/ */
} }
TRACE(keyboard," ... returning %#.2x\n", keyc2vkey[keycode]+highbyte); TRACE(keyboard," ... returning %#.2x\n", keyc2vkey[keycode]+highbyte);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment