diff options
author | Eric Brayet <[email protected]> | 2013-01-28 14:41:10 +0100 |
---|---|---|
committer | Eric Brayet <[email protected]> | 2013-02-14 10:51:19 +0100 |
commit | c9a13b31703302f58100af2a3f437ff7cb8fd010 (patch) | |
tree | 6d61e42123471b2c2f82833d700cdaa8cc88d74c /src/newt/classes | |
parent | feebfdea24f8ac98282751824aa4d3569bb71d93 (diff) |
Fix bug 668 : Android keyboard input was uppercase
Diffstat (limited to 'src/newt/classes')
-rw-r--r-- | src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java | 4 |
1 files 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 }; } |