Skip to content

Commit

Permalink
Fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhael-Danilov committed Jan 30, 2025
1 parent ca44394 commit 12b0612
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,18 @@ public static void processEvent(KeyEvent e) {
}

}

public static class Key {

public final int code;
public final boolean pressed;


public final static int END_OF_FRAME = -1;
public final static int BEGIN_OF_FRAME = -2;

public int code;
public boolean pressed;

public Key( int code, boolean pressed ) {
this.code = code;
this.pressed = pressed;
}
}

}

0 comments on commit 12b0612

Please sign in to comment.