init method
- @override
Initializes the service.
Implementation
@override
Future<void> init() async {
if (isSdlSupported) initSdl();
gamepads = List.generate(maxGamepads, MockGamepad.new);
for (var i = 0; i < maxGamepads; i++) {
await connect(i);
}
}