mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-19 00:56:57 -04:00
fix not work
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user