From 460ad9822b2509865691258be851e62b85626677 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 2 Jul 2013 16:10:59 +0200 Subject: Fix Bug 768 / NEWT Windows: Use layout dependent keySymbol, if independent keyCode is 0. --- src/newt/native/WindowsWindow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index ac0ebf07e..4ef2459e8 100644 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -431,6 +431,9 @@ static void ParseWmVKeyAndScanCode(USHORT winVKey, BYTE winScanCode, BYTE flags, break; } } + if( J_VK_UNDEFINED == javaVKeyUS ) { + javaVKeyUS = javaVKeyXX; + } } *outJavaVKeyUS = javaVKeyUS; -- cgit v1.2.3