From c9a13b31703302f58100af2a3f437ff7cb8fd010 Mon Sep 17 00:00:00 2001 From: Eric Brayet Date: Mon, 28 Jan 2013 14:41:10 +0100 Subject: Fix bug 668 : Android keyboard input was uppercase --- .../jogamp/newt/driver/android/event/AndroidNewtEventFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java b/src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java index dc1e8aeef..55fbbe603 100644 --- a/src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java +++ b/src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java @@ -192,13 +192,13 @@ public class AndroidNewtEventFactory { final int newtMods = aKeyModifiers2Newt(event.getMetaState()); final com.jogamp.newt.event.KeyEvent ke1 = new com.jogamp.newt.event.KeyEvent( - type, src, unixTime, newtMods, newtKeyCode, event.getDisplayLabel()); + type, src, unixTime, newtMods, newtKeyCode, (char) event.getUnicodeChar()); if( com.jogamp.newt.event.KeyEvent.EVENT_KEY_RELEASED == type ) { return new com.jogamp.newt.event.KeyEvent[] { ke1, new com.jogamp.newt.event.KeyEvent( com.jogamp.newt.event.KeyEvent.EVENT_KEY_TYPED, - src, unixTime, newtMods, newtKeyCode, event.getDisplayLabel()) }; + src, unixTime, newtMods, newtKeyCode, (char) event.getUnicodeChar()) }; } else { return new com.jogamp.newt.event.KeyEvent[] { ke1 }; } -- cgit v1.2.3