Remove hardware keyboard support checking

This commit is contained in:
Victor 2014-01-15 00:18:58 +02:00
parent da62f1834d
commit 9a53f5faad

View File

@ -12,7 +12,7 @@ public class Pointer {
private static final int POSITIONING = 0, READY = 1; private static final int POSITIONING = 0, READY = 1;
private boolean isAccelerometerSupports, isHardwareKeyboardSupports; private boolean isAccelerometerSupports;
private float screenWidth, screenHeight; private float screenWidth, screenHeight;
private float x, y; private float x, y;
@ -27,10 +27,7 @@ public class Pointer {
setScreenParameters(width, height); setScreenParameters(width, height);
isAccelerometerSupports = Gdx.input.isPeripheralAvailable(Peripheral.Accelerometer); isAccelerometerSupports = Gdx.input.isPeripheralAvailable(Peripheral.Accelerometer);
isHardwareKeyboardSupports = Gdx.input.isPeripheralAvailable(Peripheral.HardwareKeyboard); Gdx.input.setInputProcessor(new InputHandlingProcessor(this));
if (isHardwareKeyboardSupports) {
Gdx.input.setInputProcessor(new InputHandlingProcessor(this));
}
} }
public void setEnemiesController(EnemiesController controller) { public void setEnemiesController(EnemiesController controller) {