gamepads property

List<Gamepad> get gamepads

Implementation

static List<Gamepad> get gamepads {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IGamepadStatics);
  final object = IGamepadStatics.fromRawPointer(activationFactoryPtr);

  try {
    return object.gamepads;
  } finally {
    object.release();
  }
}