CopperPad.GameController 2.0.0-preview.1

This is a prerelease version of CopperPad.GameController.
dotnet add package CopperPad.GameController --version 2.0.0-preview.1
                    
NuGet\Install-Package CopperPad.GameController -Version 2.0.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CopperPad.GameController" Version="2.0.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CopperPad.GameController" Version="2.0.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="CopperPad.GameController" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CopperPad.GameController --version 2.0.0-preview.1
                    
#r "nuget: CopperPad.GameController, 2.0.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CopperPad.GameController@2.0.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CopperPad.GameController&version=2.0.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CopperPad.GameController&version=2.0.0-preview.1&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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