Example usage for Java com.badlogic.gdx InputProcessor fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | keyDown(int keycode) Called when a key was pressed |
boolean | keyTyped(char character) Called when a key was typed |
boolean | keyUp(int keycode) Called when a key was released |
boolean | mouseMoved(int screenX, int screenY) Called when the mouse was moved without any buttons being pressed. |
boolean | scrolled(int amount) Called when the mouse wheel was scrolled. |
boolean | touchDown(int screenX, int screenY, int pointer, int button) Called when the screen was touched or a mouse button was pressed. |
boolean | touchDragged(int screenX, int screenY, int pointer) Called when a finger or the mouse was dragged. |
boolean | touchUp(int screenX, int screenY, int pointer, int button) Called when a finger was lifted or a mouse button was released. |