Skip to content

Commit 362921d

Browse files
committed
Clarify clearing pairings
1 parent 80d0e3f commit 362921d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

windows.gaming.input.preview/code/csharp/CopilotSample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ public void CopilotSample(GipGameControllerProvider pilotProvider,
1616

1717
// Removes the pairing for both controllers
1818
LegacyGipGameControllerProvider.ClearPairing(user, pilotId);
19-
// Also removes the pairing for both controllers
19+
// Also removes the pairing for both controllers (unnecessary since the pairing was already removed)
2020
LegacyGipGameControllerProvider.ClearPairing(user, copilotId);
2121
}

windows.gaming.input.preview/legacygipgamecontrollerprovider_clearpairing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Provider id for the controller to remove from parings.
2525

2626
## -remarks
2727

28-
Removes the given controller from any pairings where it is either a pilot or copilot for the given user. The controller does not need to be connected to be unpaired.
28+
Removes the given controller from any pairings where it is either a pilot or copilot for the given user. The controller does not need to be connected to be unpaired. Removing one controller from a pairing removes the pairing entirely — that is, if a controller is paired as a copilot to another controller, removing the copilot controller will also remove the pairing for the pilot controller and vice versa.
2929

3030
> [!CAUTION]
3131
> Copilot pairing is system-wide and persistent for the given user. This should only be done at the user's direction.

0 commit comments

Comments
 (0)