Back to project page bbg-gdx-project-setup.
The source code is released under:
MIT License
If you think the Android project bbg-gdx-project-setup listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bluebananagames.gametemplate.input; // w w w .jav a2 s. c o m import com.badlogic.gdx.Gdx; public class KeyboardInputHandler extends InputHandler { @Override public boolean isControlPressed(Control control) { return Gdx.input.isKeyPressed(getMapping().getMappedButton(control)); } }