Compile fix
This commit is contained in:
@@ -22,7 +22,7 @@ public class Lime {
|
||||
public static native int onTrackball(float x,float y);
|
||||
public static native int onJoyChange(int inDeviceID, int inCode, boolean inIsDown);
|
||||
public static native int onJoyMotion(int inDeviceID, int axis, float value);
|
||||
public static native int onKeyChange(int inCode, boolean inIsDown);
|
||||
public static native int onKeyChange(int inKeyCode, int inCharCode, boolean inIsDown);
|
||||
public static native int onRender();
|
||||
public static native int onPoll();
|
||||
public static native double getNextWake();
|
||||
|
||||
@@ -368,7 +368,7 @@ class MainView extends GLSurfaceView {
|
||||
|
||||
final int charCode = translateKey (inKeyCode, event);
|
||||
|
||||
if (keyCode != 0) {
|
||||
if (charCode != 0) {
|
||||
|
||||
queueEvent (new Runnable () {
|
||||
|
||||
@@ -417,7 +417,7 @@ class MainView extends GLSurfaceView {
|
||||
|
||||
final int charCode = translateKey (inKeyCode, event);
|
||||
|
||||
if (keyCode != 0) {
|
||||
if (charCode != 0) {
|
||||
|
||||
queueEvent (new Runnable () {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user