SharpSticks.DirectInput
0.1.0-debug02
dotnet add package SharpSticks.DirectInput --version 0.1.0-debug02
NuGet\Install-Package SharpSticks.DirectInput -Version 0.1.0-debug02
<PackageReference Include="SharpSticks.DirectInput" Version="0.1.0-debug02" />
<PackageVersion Include="SharpSticks.DirectInput" Version="0.1.0-debug02" />
<PackageReference Include="SharpSticks.DirectInput" />
paket add SharpSticks.DirectInput --version 0.1.0-debug02
#r "nuget: SharpSticks.DirectInput, 0.1.0-debug02"
#:package SharpSticks.DirectInput@0.1.0-debug02
#addin nuget:?package=SharpSticks.DirectInput&version=0.1.0-debug02&prerelease
#tool nuget:?package=SharpSticks.DirectInput&version=0.1.0-debug02&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-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 | 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
- Collections.Pooled.V2 (>= 2.4.1)
- SharpSticks.InputAbstractions (>= 0.1.0-debug02)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SharpSticks.DirectInput:
| Package | Downloads |
|---|---|
|
SharpSticks.Config
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-debug02 | 46 | 5/18/2026 |