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 56 1/5/2026
3.8.1 750 12/2/2025
3.8.0-beta 659 12/2/2025
3.7.6-beta 194 9/29/2025
3.7.5-beta 530 7/21/2025
3.7.4-beta 241 4/9/2025
3.7.3-beta 189 3/31/2025
3.7.2-beta 152 3/14/2025
3.7.1-beta 162 2/13/2025
3.7.0-beta 148 12/3/2024
3.6.2 5,648 10/9/2024
3.6.1-beta 144 9/30/2024
3.6.0-beta 144 9/23/2024
3.5.13-beta 185 9/5/2024
3.5.12-beta 154 9/2/2024
3.5.11-beta 141 7/30/2024
3.5.10-beta 161 7/8/2024
3.5.9-beta 168 7/1/2024
3.5.8-beta 165 6/27/2024
3.5.7-beta 147 6/25/2024
3.5.6-beta 152 6/25/2024
3.5.5-beta 164 6/20/2024
3.5.4-beta 147 6/14/2024
3.5.3-beta 136 6/10/2024
3.5.2-beta 151 5/29/2024
3.5.1-beta 149 5/27/2024
3.5.0 1,042 3/13/2024
3.4.4-beta 203 2/13/2024
3.4.3-beta 172 2/2/2024
3.4.2-beta 187 12/29/2023
3.4.1-beta 197 11/17/2023
3.4.0-beta 148 11/9/2023
3.3.4 415 10/13/2023
3.3.3-beta 172 10/9/2023
3.3.2-beta 169 10/6/2023
3.3.1-beta 124 9/18/2023
3.3.0-beta 122 9/18/2023
3.2.1-beta 184 6/23/2023
3.2.0 460 5/14/2023
3.1.1-beta 213 4/20/2023
3.1.0-beta 170 4/17/2023
3.0.5-beta 186 4/13/2023
3.0.4-beta 192 4/5/2023
3.0.3-beta 216 4/5/2023
3.0.2-beta 192 4/5/2023
3.0.1-beta 233 3/29/2023
3.0.0-beta 204 3/6/2023
2.4.2 4,166 3/3/2023
2.4.1-beta 195 2/9/2023
2.4.0-beta 200 1/25/2023
2.3.0 350 1/19/2023
2.2.0 353 12/22/2022
2.1.42-beta 203 11/8/2022
2.1.41 247 11/8/2022
2.1.40 252 11/8/2022
2.1.34-beta 236 9/28/2022
2.1.33-beta 230 9/26/2022
2.1.32 1,495 9/22/2022
2.1.31-beta 206 9/6/2022
2.1.30-beta 206 8/30/2022
2.1.29-beta 199 8/30/2022
2.1.28-beta 200 8/29/2022
2.1.27-beta 207 8/29/2022
2.1.26-beta 229 8/8/2022
2.1.25-beta 240 7/21/2022
2.1.24-beta 242 7/15/2022
2.1.23-beta 455 7/11/2022
2.1.22-beta 258 7/5/2022
2.1.21-beta 239 6/18/2022
2.1.20-beta 233 6/7/2022
2.1.19 933 6/7/2022
2.1.18 254 6/7/2022
2.1.17 258 6/7/2022
2.1.16-beta 231 6/6/2022
2.1.15-beta 233 5/31/2022
2.1.14-beta 222 5/19/2022
2.1.13-beta 240 5/19/2022
2.1.12-beta 241 5/9/2022
2.1.11-beta 242 5/2/2022
2.1.10-beta 245 4/25/2022
2.1.9-beta 293 4/21/2022
2.1.8-beta 242 4/11/2022
2.1.7-beta 247 4/8/2022
2.1.6-beta 269 4/5/2022
2.1.5-beta 250 3/31/2022
2.1.4-beta 257 3/21/2022
2.1.3-beta 255 3/15/2022
2.1.2 376 3/10/2022
2.1.2-beta 248 3/11/2022
2.1.1-beta9 271 1/24/2022
2.1.1-beta8 258 1/21/2022
2.1.1-beta7 263 1/20/2022
2.1.1-beta6 261 1/20/2022
2.1.1-beta5 260 1/19/2022
2.1.1-beta4 259 1/11/2022
2.1.1-beta3 261 1/10/2022
2.1.1-beta2 264 1/7/2022
2.1.1-beta12 250 3/2/2022
2.1.1-beta11 257 2/14/2022
2.1.1-beta10 260 2/8/2022
2.1.1-beta1 269 1/3/2022
2.1.0 337 12/31/2021
2.1.0-beta9 284 12/27/2021
2.1.0-beta8 282 12/9/2021
2.1.0-beta7 298 12/9/2021
2.1.0-beta6 300 12/6/2021
2.1.0-beta5 282 11/29/2021
2.1.0-beta4 323 11/10/2021
2.1.0-beta3 324 11/10/2021
2.1.0-beta2 291 11/2/2021
2.1.0-beta10 267 12/30/2021
2.0.20-beta 322 9/25/2021
2.0.19-beta 290 9/24/2021
1.9.143 490 9/8/2021
1.9.130 323 8/31/2021
1.9.117 390 8/26/2021