testing library

Helpers for testing code that uses just_inputs: a gamepad source you plug pads into by hand, and a way to press keys without a keyboard.

Never imported by a game.

Classes

FakeGamepadSource
Pads that exist only in a test. Events arrive synchronously, so a test can press and look straight after.
InputTester
Drives an InputService by hand: press keys, advance its clock.