SharpSticks.PlatformInput
0.1.0-debug04
dotnet add package SharpSticks.PlatformInput --version 0.1.0-debug04
NuGet\Install-Package SharpSticks.PlatformInput -Version 0.1.0-debug04
<PackageReference Include="SharpSticks.PlatformInput" Version="0.1.0-debug04" />
<PackageVersion Include="SharpSticks.PlatformInput" Version="0.1.0-debug04" />
<PackageReference Include="SharpSticks.PlatformInput" />
paket add SharpSticks.PlatformInput --version 0.1.0-debug04
#r "nuget: SharpSticks.PlatformInput, 0.1.0-debug04"
#:package SharpSticks.PlatformInput@0.1.0-debug04
#addin nuget:?package=SharpSticks.PlatformInput&version=0.1.0-debug04&prerelease
#tool nuget:?package=SharpSticks.PlatformInput&version=0.1.0-debug04&prerelease
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-debug03
when you have problems in vscode with some types not known, then use this package
#:package SharpSticks.Editor@0.1.0-debug03
Run it with dotnet run your-game.cs.
Create a small standalone exe (no dependency on dotnet) with dotnet publish your-game.cs.
| 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-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- SharpSticks.DirectInput (>= 0.1.0-debug04)
- SharpSticks.LinuxInput (>= 0.1.0-debug04)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on SharpSticks.PlatformInput:
| Package | Downloads |
|---|---|
|
SharpSticks.Config
An experimental library to build low-latency vJoy configurations purely from C# code |
|
|
SharpSticks.PlatformDefaults
An experimental library to build low-latency vJoy configurations purely from C# code |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-debug04 | 60 | 6/8/2026 |
| 0.1.0-debug03 | 64 | 6/7/2026 |