fromGameController static method
Implementation
static Gamepad? fromGameController(IGameController? gameController) {
final activationFactoryPtr =
CreateActivationFactory(_className, IID_IGamepadStatics2);
final object = IGamepadStatics2.fromRawPointer(activationFactoryPtr);
try {
return object.fromGameController(gameController);
} finally {
object.release();
}
}