|
From: | Jason Rumney |
Subject: | Re: Next pretest |
Date: | Wed, 27 Jan 2010 10:02:51 +0800 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0 |
On 27/01/2010 07:48, Juanma Barranquero wrote:
On Tue, Jan 26, 2010 at 19:09, Eli Zaretskii<address@hidden> wrote:If not, try w32inevt.c:key_event. In the latter, it would be interesting to see what was event->wVirtualKeyCode (around line 426).(gdb) p *event $1 = { bKeyDown = 1, wRepeatCount = 1, wVirtualKeyCode = 192, wVirtualScanCode = 39, uChar = { UnicodeChar = 241 L'ñ\000', AsciiChar = -15 'ñ' }, dwControlKeyState = 0 }
w32inevt.c needs the equivalent of this code from w32term.c at the point where it currently sets the event kind to ASCII_KEYSTROKE_EVENT.
inev.kind = inev.code < 128 ? ASCII_KEYSTROKE_EVENT : MULTIBYTE_CHAR_KEYSTROKE_EVENT;
[Prev in Thread] | Current Thread | [Next in Thread] |