Frédéric Delanoy
7e309601f3
dlls: Assorted spelling fixes.
2011-08-03 14:15:50 +02:00
Ken Thomases
ebebee5b9e
winex11.drv: Map Meta keys to VK_{L, R}MENU, not just VK_MENU.
...
This fixes a problem with X11DRV_KeymapNotify sending incorrect key-up events.
2011-07-13 15:00:10 +02:00
Ken Thomases
c4daf28186
winex11.drv: Fix X11DRV_KeymapNotify when multiple keycodes map to same vkey.
2011-07-13 15:00:00 +02:00
Dmitry Timoshkov
f339b6c0f1
winex11.drv: Make sure that all relevant keyboard traces are printed in the same debug channel.
2011-04-20 16:34:25 +02:00
Alexandre Julliard
f46bd50a80
winex11: Get rid of the ClipCursor and SendInput entry points.
2011-03-03 17:34:53 +01:00
Alexandre Julliard
f1a3480068
user32: Handle input injected through SendInput entirely in user32.
2011-03-02 21:48:39 +01:00
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
Lei Zhang
a442d2675e
winex11: control + enter should generate '\n' instead of '\r'.
2008-04-24 12:40:40 +02:00
ByeongSik Jeon
9171647204
winex11: Add VK_HANGUL, VK_HANJA for Korean Native IME.
2008-04-17 11:38:19 +02:00
Vitaliy Margolen
a3b21209b2
winex11.drv: Send scan code when adjusting modifier key states.
2008-04-14 12:40:22 +02:00
Alexandre Julliard
8445841dcd
winex11: Replace the keyboard flags bitfield by the official flag definitions.
2008-04-10 17:59:06 +02:00
Alexandre Julliard
dc1ee0d142
winex11: Fix KeymapNotify handler to take left/right modifiers into account.
2008-04-09 16:25:15 +02:00
Vitaliy Margolen
bc325ac268
winex11: Properly report state of the caps-lock and num-lock and scroll-lock keys.
2008-04-07 13:01:13 +02:00
Vitaliy Margolen
b4d99eebbb
winex11: Get the ScrollLock mask.
2008-04-07 12:58:34 +02:00
Vitaliy Margolen
9faf7e3586
winex11drv: Distinguish left and right keys for shift, ctrl and alt.
2008-04-02 11:14:54 +02:00
Alexandre Julliard
7af2a9a902
winex11: Avoid depending on win.h.
2008-02-29 13:44:55 +01:00
Alexandre Julliard
e14261dbb7
winex11: Use the gdi display when initializing the keyboard to avoid creating a second display connection.
2008-02-06 20:37:41 +01:00
Dmitry Timoshkov
e5e261f104
user32: Make MapVirtualKeyEx(MAPVK_VK_TO_CHAR) behave more like in Windows.
2008-01-23 20:39:19 +01:00
Dmitry Timoshkov
1efd4c02e5
winex11.drv: Get rid of unused variables.
2007-11-12 12:15:55 +01:00
Francois Gouget
b2bc712323
Assorted spelling fixes.
2007-09-27 20:12:53 +02:00
Dmitry Timoshkov
3407307a50
winex11.drv: Use symbolic names for MapVirtualKey translation types.
2007-09-18 11:15:01 +02:00
Steven Edwards
13f9b0a642
x11drv: Remove some no longer needed wine 16bit headers.
2007-08-29 12:31:28 +02:00
Dmitry Timoshkov
130278f34a
winex11.drv: Synchronize debug output between X11DRV_KeyEvent and X11DRV_ToUnicodeEx.
2007-05-21 15:55:51 +02:00
Dan Kegel
c2ae970e60
winex11.drv: GetAsyncKeyState must check mouse buttons, too.
2007-04-13 11:38:03 +02:00
Andrew Talbot
a33f71a32d
winex11.drv: Replace inline static with static inline.
2007-03-17 20:04:54 +01:00
Dmitry Timoshkov
d2092ae2bd
winex11.drv: Do not ignore the keysyms assigned to a group switch, it leads to side effects like missing KeyRelease events.
2007-03-06 12:25:20 +01:00
Aric Stewart
4f944f7f01
winex11.drv: Make sure keyboard state is up to date before processing GetAsyncKeyState.
2007-03-01 20:42:48 +01:00
Dmitry Timoshkov
ac3646cc08
winex11.drv: Clients should pass only KeyPress events to XmbLookupString.
2007-02-21 15:21:14 +01:00
Vitaliy Margolen
edd84eedc8
winex11drv: Change FIXME to WARN in X11DRV_GetKeyNameText.
2007-01-08 21:13:31 +01:00
Dmitry Timoshkov
6c73f7395b
user32: Add support for the VK_APPS (Menu) key.
2006-12-15 12:20:05 +01:00
Kevin Koltzau
44685c234f
winex11.drv: Process browser and multimedia key events.
2006-11-27 13:44:35 +01:00
Ken Thomases
9124858b08
winex11.drv: Correct the count of characters matching with layout.
2006-11-20 12:00:17 +01:00
Ken Thomases
89bdf03989
winex11.drv: Enable code for picking layout-independent vkey as second pass.
2006-11-20 12:00:10 +01:00
Ken Thomases
c7ffd04be7
winex11.drv: Changed indenting of some dead code.
2006-11-20 12:00:02 +01:00
Ken Thomases
fac3dc6075
winex11.drv: Move some dead code from inside a loop to just after the loop.
2006-11-20 11:59:54 +01:00
Ken Thomases
0dee5eb160
winex11.drv: Replace no-longer-existent VK_A, VK_Z, VK_0, and VK_9 constants.
2006-11-20 11:59:46 +01:00
Ken Thomases
8c768fb437
winex11.drv: Track which vkeys have already been assigned to keycodes.
2006-11-20 11:59:23 +01:00
Ken Thomases
30f691f56b
winex11.drv: Reset the keyc2vkey table to empty before rebuilding it.
2006-11-20 11:59:15 +01:00
Ken Thomases
d88d2d4d13
winex11.drv: Fix off-by-one in map of non-char keysyms to vkeys.
2006-11-08 19:58:39 +01:00
Ken Thomases
75195ad4bc
winex11.drv: Map XK_KP_Equal to VK_OEM_NEC_EQUAL.
2006-11-08 19:58:30 +01:00
Dmitry Timoshkov
d949867ded
winex11.drv: Map VK codes for arrow keys to an X11 keycode manually as we do for other keypad keys.
2006-11-08 11:26:42 +01:00
Alexandre Julliard
ac227461ac
winex11.drv: Detect an XLookupString that returns Latin-1 and avoid codepage mapping in that case.
2006-11-07 17:28:02 +01:00
Alexandre Julliard
187d52bc2d
winex11.drv: Added mapping for Unicode keysyms in ToUnicodeEx.
2006-11-07 17:27:35 +01:00
Alexandre Julliard
4026dfa8f4
winex11.drv: Only load the keycode->keysym mapping once in DetectLayout, instead of once per supported layout.
2006-11-07 17:22:52 +01:00
Mike McCormack
671e9c0658
user32: ToUnicodeEx should return 0 for an unknown key.
2006-11-06 13:47:46 +01:00
Eric Pouech
54ac76a387
winex11.drv: As the min keycode is always greater or equal to 8, we
...
don't need to scan XKeymapEvent.key_vector from 0 but from 8.
2006-10-24 11:31:55 +02:00
Vitaliy Margolen
6069d0d596
winex11drv: Win64 printf format warning fixes.
2006-10-09 15:23:33 +02:00
Dmitry Timoshkov
84a6330690
winex11.drv: Use a proper protector for X11/XKBlib.h.
2006-09-26 12:29:12 +02:00
Alexandre Julliard
d3b3096756
server: Split the queuing of hardware messages into a separate send_hardware_message request.
2006-08-09 16:45:26 +02:00
Mike McCormack
6eb4bfe85f
winex11.drv: Avoid an uninitialized variable warning.
2006-07-24 13:46:26 +02:00
Dmitry Timoshkov
e7e6f10997
winex11.drv: Update Lithuanian keyboard layout to better match the X11 one.
2006-07-05 11:44:08 +02:00