Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.jooky.sandboxgame; import com.badlogic.gdx.InputProcessor; /** * * @author Ooky */ public class MyInputProcessor implements InputProcessor { //============================================================================== //Initialization //============================================================================== //============================================================================== //Methods //============================================================================== @Override public boolean keyDown(int keycode) { return false; } @Override public boolean keyUp(int keycode) { return false; } @Override public boolean keyTyped(char character) { return false; } @Override public boolean mouseMoved(int x, int y) { return false; } @Override public boolean scrolled(int amount) { return false; } @Override public boolean touchDown(int x, int y, int pointer, int button) { return false; } @Override public boolean touchUp(int x, int y, int pointer, int button) { return false; } @Override public boolean touchDragged(int x, int y, int pointer) { return false; } }