Beispiel #1
0
 /// <inheritdoc />
 /// <summary>
 ///     Initializes a new instance of the <see cref="T:Nefarius.ViGEm.Client.Targets.DualShock4Controller" /> 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 DualShock4Controller(ViGEmClient client) : base(client)
 {
     NativeHandle = ViGEmClient.vigem_target_ds4_alloc();
 }