Vortice.DirectInput 3.8.2

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

Showing the top 2 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.

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.2 329 1/5/2026
3.8.1 823 12/2/2025
3.8.0-beta 672 12/2/2025
3.7.6-beta 205 9/29/2025
3.7.5-beta 535 7/21/2025
3.7.4-beta 257 4/9/2025
3.7.3-beta 197 3/31/2025
3.7.2-beta 158 3/14/2025
3.7.1-beta 173 2/13/2025
3.7.0-beta 155 12/3/2024
3.6.2 6,214 10/9/2024
3.6.1-beta 162 9/30/2024
3.6.0-beta 156 9/23/2024
3.5.13-beta 198 9/5/2024
3.5.12-beta 163 9/2/2024
3.5.11-beta 149 7/30/2024
3.5.10-beta 170 7/8/2024
3.5.9-beta 178 7/1/2024
3.5.8-beta 171 6/27/2024
3.5.7-beta 157 6/25/2024
Loading failed