I inserted the following lines into my core modules code:
boolean available = Gdx.input.isPeripheralAvailable(Input.Peripheral.Accelerometer);
System.out.println("Is Accelerometer available: "+available);
Is Accelerometer available: false
When I ported my video game over to iOS, the accelerometer stopped working and couldn’t be found.
Does anyone have a fix for this bug?
Do I need to configure the build.gradle in moe to enable accelerometer input?