summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java4
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 };
}