CopperPad.GameController
2.0.0-preview.1
dotnet add package CopperPad.GameController --version 2.0.0-preview.1
NuGet\Install-Package CopperPad.GameController -Version 2.0.0-preview.1
<PackageReference Include="CopperPad.GameController" Version="2.0.0-preview.1" />
<PackageVersion Include="CopperPad.GameController" Version="2.0.0-preview.1" />
<PackageReference Include="CopperPad.GameController" />
paket add CopperPad.GameController --version 2.0.0-preview.1
#r "nuget: CopperPad.GameController, 2.0.0-preview.1"
#:package CopperPad.GameController@2.0.0-preview.1
#addin nuget:?package=CopperPad.GameController&version=2.0.0-preview.1&prerelease
#tool nuget:?package=CopperPad.GameController&version=2.0.0-preview.1&prerelease
CopperPad.GameController
This package is the Apple GameController provider for CopperPad.
The desktop workspace builds the net10.0 stub so normal Windows CI does not require Apple workloads. Build the real iOS target on macOS with:
dotnet build CopperPad/src/CopperPad.GameController -p:EnableIOSProviderBuild=true -f net10.0-ios
Manual validation requires iOS hardware or an Apple-supported controller environment.
Before release, connect two controllers with the same vendor name and verify that both receive unique IDs, publish live snapshots, disconnect independently, reconnect, and stop without duplicate callbacks.
Quick example
using CopperPad;
using var host = new CopperControllerHost(new GameControllerControllerProvider());
host.Start();
foreach (var controller in host.GetControllers())
{
var snapshot = controller.GetSnapshot();
Console.WriteLine($"{snapshot.DisplayName}: {snapshot.MappingSource}");
}
The net10.0 desktop build is a stub so shared code can compile in normal desktop CI. Use the net10.0-ios target for real Apple GameController input.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-preview.1 | 73 | 7/12/2026 |