add_GamepadRemoved static method

int add_GamepadRemoved(
  1. Pointer<NativeFunction<EventHandler>> value
)

Implementation

static int add_GamepadRemoved(Pointer<NativeFunction<EventHandler>> value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IGamepadStatics);

  try {
    return IGamepadStatics.fromRawPointer(activationFactory)
        .add_GamepadRemoved(value);
  } finally {
    free(activationFactory);
  }
}