SharpSticks.Console 0.1.0-debug02

This is a prerelease version of SharpSticks.Console.
dotnet add package SharpSticks.Console --version 0.1.0-debug02
                    
NuGet\Install-Package SharpSticks.Console -Version 0.1.0-debug02
                    
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="SharpSticks.Console" Version="0.1.0-debug02" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpSticks.Console" Version="0.1.0-debug02" />
                    
Directory.Packages.props
<PackageReference Include="SharpSticks.Console" />
                    
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 SharpSticks.Console --version 0.1.0-debug02
                    
#r "nuget: SharpSticks.Console, 0.1.0-debug02"
                    
#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 SharpSticks.Console@0.1.0-debug02
                    
#: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=SharpSticks.Console&version=0.1.0-debug02&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SharpSticks.Console&version=0.1.0-debug02&prerelease
                    
Install as a Cake Tool

SharpSticks

An experiment in building low-latency vJoy configurations purely from C# code, with heavy assistance from a Roslyn source generator that materialises a strongly-typed Devices / Typed surface so scripts can refer to axes and buttons by name (RightStick.Axes.X, VJoy1.Buttons.Fire).

See examples/ for working scripts.

Prerequisites

Any version of vJoy, and the .NET 10 SDK:

winget install -e --id ShaulEizikovich.vJoyDeviceDriver
winget install -e --id Microsoft.DotNet.SDK.10

If you don't already have a modern C# editor, install VS Code:

winget install -e --id Microsoft.VisualStudioCode

or download it from https://code.visualstudio.com/.

Writing a script

Create a new .cs file (e.g. your-game.cs) and open it in VS Code. Put this as the first line — it pulls down the package and everything needed for the editor to give you full IntelliSense over the typed device surface:

#:package SharpSticks.Console@0.1.0-debug02

Run it with dotnet run your-game.cs.

Create a small standalone exe (no dependency on dotnet) with dotnet publish your-game.cs.

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-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
0.1.0-debug02 43 5/18/2026