Sources topic

Keyboard, mouse, and pointer lock sources, and the contract for writing your own.

Classes

FlutterInputSources Sources
The Flutter sources wired into one InputSystem.
GamepadBackend Sources
Where GamepadSource reads connected pads and raw events. The default reads the gamepads package; tests supply their own.
GamepadSource Sources
Publishes gamepads from the gamepads package, with each pad its own device.
GamepadsPackageBackend Sources
A GamepadBackend over the gamepads package.
KeyboardSource Sources
Publishes physical keyboard state from HardwareKeyboard.
MouseSource Sources
Publishes mouse buttons, movement, and scrolling fed by InputListener widgets.
PointerLock Sources
Hides the mouse cursor and reports raw movement instead of a position, the input mode a first-person camera runs in.

Enums

PointerLockLoss Sources
Why a pointer lock ended.