Vortice.DirectInput 3.8.3

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

Vortice.Windows

License: MIT Build status NuGet

Vortice.Windows is a collection of Win32 and UWP libraries with bindings support for DXGI, WIC, DirectWrite, Direct2D, Direct3D9, Direct3D11, Direct3D12, XInput, XAudio2, X3DAudio, DirectInput, DirectStorage, DirectML, UIAnimation and DirectSound.

This library targets .net9.0 and .net10.0 and uses modern C#, see CHANGELOG for list of changes between commits.

If you are looking for high-performance low level bindings, please visit Vortice.Win32

Sponsors

Please consider becoming a SPONSOR to further help development and to allow faster issue triaging and new features to be implemented. NOTE: any feature request would require a sponsor in order to allow faster implementation and allow this project to continue.

There is a collection of samples available Vortice.Windows.Samples

Credits

Library development, contributions and bugfixes by:

  • Amer Koleci
  • Aaron Sun (DirectML)

SharpDX bindings were used for some platforms to understand how mapping works using SharpGenTools.

Build

In order to compile, make sure no spaces are present in the solution path otherwise SharpGen will fail to generate bindings. Also, you need to install Visual Studio 2022 with the following components:

  • Visual C++ Toolset Component
  • Windows 11 SDK (10.0.26100.0)
  • .NET 10 SDK

Projects using Vortice.Windows

Samples

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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 (4)

Showing the top 4 NuGet packages that depend on Vortice.DirectInput:

Package Downloads
FlysEngine.Desktop

For easier use for FlysEngine in desktop application.

Reloaded.Input

Personal use controller remapping library that wraps XInput and DInput in a common interface.

Oakrey.Joysticks

A .NET library for joystick and game controller input via DirectInput. Provides three abstraction levels: Joystick (raw IObservable<JoystickUpdate> stream), ColdJoystick (snapshot IObservable with full state replay), and GroupedJoystick (typed observable channels for axes, buttons, sliders, and POV). Built on Vortice.DirectInput and System.Reactive.

DirectInputWatcher

Watch every attached DirectInput and XInput game controller for button, axis, and POV activity as Rx event streams, with USB hot-plug reconciliation and axis calibration.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Vortice.DirectInput:

Repository Stars
Reloaded-Project/Reloaded-II
Universal .NET Core Powered Modding Framework for any Native Game X86, X64.
terrymacdonald/DisplayMagician
DisplayMagician is an open source tool for automatically configuring your displays and sound for a game or application from a single Windows Shortcut.
Version Downloads Last Updated
3.8.3 6,617 3/4/2026
3.8.2 842 1/5/2026
3.8.1 1,065 12/2/2025
3.8.0-beta 714 12/2/2025
3.7.6-beta 250 9/29/2025
3.7.5-beta 581 7/21/2025
3.7.4-beta 294 4/9/2025
3.7.3-beta 234 3/31/2025
3.7.2-beta 205 3/14/2025
3.7.1-beta 211 2/13/2025
3.7.0-beta 194 12/3/2024
3.6.2 9,837 10/9/2024
3.6.1-beta 197 9/30/2024
3.6.0-beta 202 9/23/2024
3.5.13-beta 245 9/5/2024
3.5.12-beta 213 9/2/2024
3.5.11-beta 195 7/30/2024
3.5.10-beta 217 7/8/2024
3.5.9-beta 213 7/1/2024
3.5.8-beta 212 6/27/2024
Loading failed