OptionalautoplayEmit an idle stick-drift sample loop through the scheduler.
OptionalclockClock used for timestamps. Default: Date.now.
OptionallatencyArtificial latency (ms) applied before each result. Default 0, which
responds synchronously inside handleMessage.
OptionalpadsInitial slots. Default: two standard-mapping pads at slots 0 and 1.
OptionalschedulerScheduler used for deferred pushes. Default: setTimeout.
OptionalseedSeed for deterministic ids and fixture ordering. Default 1.
OptionaltickLoop interval for autoplay. Default 16.
OptionalunavailableReport available: false with this reason.
Factory options for the gamepad mock.
Example