Skip to content

Commit

Permalink
Update KeyboardActionListener.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Helium314 authored Mar 11, 2024
1 parent 4895cff commit 14ad9e2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ public interface KeyboardActionListener {

KeyboardActionListener EMPTY_LISTENER = new Adapter();

static int SWIPE_NO_ACTION = 0;
static int SWIPE_MOVE_CURSOR = 1;
static int SWIPE_SWITCH_LANGUAGE = 2;

class Adapter implements KeyboardActionListener {
@Override
public void onPressKey(int primaryCode, int repeatCount, boolean isSinglePointer) {}
Expand Down

0 comments on commit 14ad9e2

Please sign in to comment.