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
Alexandre Julliard
bdb4fab7a7
x11drv: Renamed the x11drv directory to winex11.drv.
2006-06-16 09:57:50 +02:00