libGDX Input Handling
Reference for polling vs event-driven input, InputProcessor, InputMultiplexer, GestureDetector, coordinate unprojection, and platform input quirks.
Polling vs Event-Driven
Polling — check input state each frame in render():
// isKeyPressed = true EVERY frame while held → continuous actions (movement)
if (Gdx.input.isKeyPressed(Input.Keys.W)) player.y += speed * delta;
if (Gdx.input.isKeyPressed(Input.Keys.SPACE)) fireBullet();
// isKeyJustPressed = t
[Description truncada. Veja o README completo no GitHub.]