/// <inheritdoc /> /// <summary> /// Initializes a new instance of the <see cref="T:Nefarius.ViGEm.Client.Targets.Xbox360Controller" /> class bound to a /// <see cref="T:Nefarius.ViGEm.Client.ViGEmClient" />. /// </summary> /// <param name="client">The <see cref="T:Nefarius.ViGEm.Client.ViGEmClient" /> this device is attached to.</param> public Xbox360Controller(ViGEmClient client) : base(client) { NativeHandle = ViGEmClient.vigem_target_x360_alloc(); }