fix not work

This commit is contained in:
khanhduytran0
2020-03-29 17:39:34 +07:00
parent 70c97f4c66
commit 5932f03a03
131 changed files with 19 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ import org.lwjgl.input.*;
import org.lwjgl.opengl.*;
public class AndroidLWJGLKeycode {
public static boolean isSendChar;
// public static boolean isSendChar;
private static final Map<Integer, Integer> androidToLwjglMap;
static {
androidToLwjglMap = new ArrayMap<Integer, Integer>();
@@ -126,7 +126,8 @@ public class AndroidLWJGLKeycode {
}
*/
System.out.println("Sending key as char: " + ((char) keyEvent.getUnicodeChar()));
if (isSendChar) mainActivity.sendKeyPress(0, (char) keyEvent.getUnicodeChar(), isDown);
// if (isSendChar)
mainActivity.sendKeyPress(0, (char) keyEvent.getUnicodeChar(), isDown);
} catch (Throwable th) {
th.printStackTrace();
}