Commit Graph

95 Commits

Author SHA1 Message Date
Alexandre Julliard c7efa293f0 server: Invoke low-level hardware hooks directly from the server side. 2011-03-02 21:26:13 +01:00
Alexandre Julliard ae895a1f10 user32: Export a Wine-specific function to send hardware input from the graphics driver. 2011-03-02 21:25:43 +01:00
Alexandre Julliard 731f5b0b7b winex11: Fetch the key state from the server when adjusting state on KeymapNotify and key events. 2011-03-02 12:24:32 +01:00
Alexandre Julliard 02e30f5f77 server: Pass the original hardware input data to the server and set the message parameters on the server side. 2011-03-02 11:34:15 +01:00
Alexandre Julliard bc4afb0786 server: Don't pass a thread id to send_hardware_message, determine it from the window. 2011-03-01 13:21:58 +01:00
Alexandre Julliard 8f88d4fe78 winex11: Pass a window handle for keyboard hardware messages too. 2011-03-01 13:21:58 +01:00
Alexandre Julliard 39c4e6d1d9 user32: Retrieve the current cursor position from the server. 2011-03-01 13:21:42 +01:00
Alexandre Julliard a7da164949 user32: Retrieve the key state for GetAsyncKeyState from the server. 2011-02-28 22:28:42 +01:00
Austin English 8ec262ef0d winex11.drv: Use consistent formatting in a TRACE(). 2011-01-05 17:54:58 +01:00
Dmitry Timoshkov 88900f429a user32: Make sure that SendInput always initializes the time field. 2010-09-22 12:44:22 +02:00
Dmitry Timoshkov a56df96a0e winex11: Remember last window that had the XIC focus and use it in ToUnicode() to make dead keys work more reliably. 2010-07-26 18:38:31 +02:00
Alexandre Julliard f2f508856b winex11: Set the user time property on top-level windows.
Helps convince some broken window managers to put new windows on top
of the z-order.
2010-06-29 13:28:39 +02:00
Alexandre Goujon a30b94651d winex11: Use XkbKeycodeToKeysym when using XKB. 2010-05-04 18:36:05 +02:00
Jörg Höhle 35a2566ea3 winex11: Unify German keyboard mapping. 2010-04-29 10:19:40 -05:00
Jörg Höhle 9079109a45 winex11: Log keycode decimal <-> hex for keysym & MS vkey and scancode. 2010-03-04 12:28:22 +01:00
Jörg Höhle da49030b39 winex11: Add vkey codes for functions keys upto F24.
Scancodes 63..6B for F16-F24 were not added because they conflict
with the 60.. reassignment heuristic in InitKeyboard.
2010-02-15 12:20:03 +01:00
Jörg Höhle 7155742d70 winex11: Initialize KeyPressEvent for XmbLookupString. 2010-02-15 12:20:02 +01:00
Ilya Shpigor a374b3cbbe winex11.drv: Produce VK_CANCEL vkey on the Ctrl+Pause/Break pressing. 2010-01-19 15:03:58 +01:00
Alexandre Julliard d18ad16331 winex11: Make GetKeyboardLayoutName() use the same default layout as GetKeyboardLayout(). 2009-12-14 16:14:38 +01:00
Ken Thomases e606da3be9 winex11: Allow assigning non-OEM virtual key codes for remaining keys.
This is safe because the keyboard layout tables and standard virtual
key code assignments have all already been done.  This is necessary
because some X11 keyboard mappings (e.g. Greek keyboard layout on a
Mac) are full of non-Latin keysyms.
2009-10-27 11:32:04 +01:00
Ken Thomases 58156740f9 winex11: Use a table of available OEM virtual key codes.
Restore availability of vkeys prior to VK_OEM_8.  That's safe now that OEM
vkeys are assigned in a separate loop after standard OEM vkey assignments
have been made.
2009-10-27 11:31:34 +01:00
Ken Thomases f6a6712a31 winex11: Assign OEM virtual key codes in a separate loop. 2009-10-27 11:31:18 +01:00
Erich Hoover 8c9a6e9f5c winex11: Send WM_SYSKEYDOWN and WM_SYSKEYUP when the 'F10' key is used. 2009-10-14 12:59:39 +02:00
Andrew Eikum 55736136e2 winex11: Support KEYEVENTF_UNICODE in SendInput. 2009-08-19 12:16:19 +02:00
Austin English 349337d7ef winex11: Make sure GetKeyNameText gets the correct length to return. 2009-06-26 12:05:17 +02:00
Austin English 99069ab61f winex11: Return correct length for GetKeyNameText. 2009-06-09 17:01:13 +02:00
André Hentschel ef016c32c1 winex11: Fix Ctrl+Shift+Tab translation. 2009-06-02 11:57:21 +02:00
André Hentschel cc688148ac winex11: Fix Ctrl+Tab translation. 2009-05-28 15:02:01 +02:00
Hans Leidekker 67a11c60af winex11.drv: Set HKCU\Keyboard Layout\Preload key. 2009-04-14 15:27:08 -05:00
Hans Leidekker ed70c76add user32: By default, return all zeroes in the first half of the keyboard layout name. 2009-04-14 15:25:52 -05:00
David Korth 728d87d0f5 winex11.drv: Map Super_L, Super_R, and Menu keys correctly. 2009-02-26 12:30:01 +01:00
Michael Gruber 8c914986a6 winex11.drv: Remove "German keyboard layout without dead keys 105". 2009-01-19 14:25:39 +01:00
Maarten Lankhorst 0a6459598a user32/winex11.drv: Change all user32 operations to use CDECL. 2008-12-23 13:06:04 +01:00
Andrew Talbot 1b802bd5ac winex11.drv: Superfluous semicolons fix. 2008-12-23 12:51:37 +01:00
Aric Stewart 5c779bfa0a user32: Remove the driver call for GetKeyboardLayoutList and instead populate from the registry. 2008-12-18 14:19:39 +01:00
Aric Stewart b3d308b96f x11drv: Allow ActivateKeyboardLayout to set the keyboard for the thread and GetKeyboardLayout to return the stored keyboard. 2008-12-18 14:19:13 +01:00
Aric Stewart 0c53ce5d20 x11drv: If a keyboard layout is an IME only check the loword when comparing to the x11 keyboard layout. 2008-12-18 13:48:36 +01:00
Dmitry Timoshkov fc48f7743d user32: Make ToAscii(Ex) and ToUnicode(Ex) prototypes match PSDK. 2008-10-27 12:38:57 +01:00
Dmitry Timoshkov 0d2bc3fa35 winex11.drv: Print the characters returned by ToUnicode. 2008-10-27 12:38:30 +01:00
Alexandre Julliard f62ac19fb5 winex11: Convert source files to utf-8. 2008-10-18 19:21:41 +02:00
Tobias Jakobi f151180330 winex11: Remove acute/apostrophe from German keyboard layout tables. 2008-10-15 16:52:09 +02:00
Muneyuki Noguchi 18d2653c3b winex11: Fix a buffer overflow bug in X11DRV_KeyEvent() and X11DRV_ToUnicodeEx(). 2008-09-12 11:40:31 +02:00
Dmitry Timoshkov 73569a95c1 winex11.drv: Fix the scan codes keypad keys section to match the vkeys one. 2008-09-11 11:45:56 +02:00
Aric Stewart c6fd037d88 winex11: Add Japanese Mac keyboard layout as many of the vkey code are quite different. 2008-07-23 13:13:05 +02:00
Alexandre Julliard e7044cb8f8 winex11: Explicitly request creation of the thread display where necessary. 2008-06-26 16:47:42 +02:00
Alexandre Julliard e705764cca winex11: Pass the display as parameter to a few more functions instead of using thread_display(). 2008-06-26 16:20:02 +02:00
Ken Thomases c2bc0e21a2 winex11: Bias MapVirtualKeyEx(MAPVK_VSC_TO_VK) against numpad vkeys.
The scan codes for the numeric keypad keys and those for the arrow keys and
keys like Home, End, etc. often match (ignoring the extended key bit).
However, if you map from one of those scan codes to a vkey, Windows reliably
prefers the non-numpad vkey.
2008-05-21 14:26:13 +02:00
Vitaliy Margolen 09c6bf415f winex11: Fix MapVirtualKeyEx to properly map left-right modifier keys. 2008-04-28 13:27:51 +02:00
Vitaliy Margolen 56989b6ed0 winex11: Use constants instead of magic numbers in GetKeyNameText. 2008-04-28 13:27:51 +02:00
Vitaliy Margolen 964687d7c3 winex11: Fix GetKeyNameText for Right Shift. 2008-04-28 13:27:51 +02:00