Remove hardware keyboard support checking
This commit is contained in:
parent
da62f1834d
commit
9a53f5faad
@ -12,7 +12,7 @@ public class Pointer {
|
||||
|
||||
private static final int POSITIONING = 0, READY = 1;
|
||||
|
||||
private boolean isAccelerometerSupports, isHardwareKeyboardSupports;
|
||||
private boolean isAccelerometerSupports;
|
||||
|
||||
private float screenWidth, screenHeight;
|
||||
private float x, y;
|
||||
@ -27,10 +27,7 @@ public class Pointer {
|
||||
setScreenParameters(width, height);
|
||||
|
||||
isAccelerometerSupports = Gdx.input.isPeripheralAvailable(Peripheral.Accelerometer);
|
||||
isHardwareKeyboardSupports = Gdx.input.isPeripheralAvailable(Peripheral.HardwareKeyboard);
|
||||
if (isHardwareKeyboardSupports) {
|
||||
Gdx.input.setInputProcessor(new InputHandlingProcessor(this));
|
||||
}
|
||||
Gdx.input.setInputProcessor(new InputHandlingProcessor(this));
|
||||
}
|
||||
|
||||
public void setEnemiesController(EnemiesController controller) {
|
||||
|
Loading…
Reference in New Issue
Block a user