|
1 | 1 | # Unity DirectInput Force Feedback W/ DInput Manager for Unity!
|
2 | 2 | ## Now you can manage your DInput devices natively in addition to FFB Support!
|
3 | 3 | 
|
4 |
| - |
| 4 | + |
5 | 5 | ### Fully integrated with Unity's Input System, Supports _any_ Direct Input Device
|
6 | 6 | [](https://unity3d.com)
|
7 | 7 | 
|
|
13 | 13 |
|
14 | 14 | This package allows you to easily integrate both the input and ForceFeedback features of DirectX DirectInput from within Unity. This allows you to interface with HID peripherals with ForceFeedback capabilities. This can be used to build vivid simulated experiences.
|
15 | 15 |
|
16 |
| -The package will create a virtual device inside Unity's Input System. This device can then be used like any other device inside the Input System, allowing for easy rebinding. ForceFeedback capabilites can be accessed via the DIManager class. The [DirectInputExplorer](../../tree/main/DirectInputExplorer~) is a Windows forms application built in parallel with the C++ library to enable quick development by avoiding the need to reload Unity after every change. It also functions as an easy way to examine DirectInput devices. |
| 16 | +The package will create a virtual device inside Unity's Input System. This device can then be used like any other device inside the Input System, allowing for easy rebinding. ForceFeedback capabilities can be accessed via the DIManager class. The [DirectInputExplorer](../../tree/main/DirectInputExplorer~) is a Windows forms application built in parallel with the C++ library to enable quick development by avoiding the need to reload Unity after every change. It also functions as an easy way to examine DirectInput devices. |
17 | 17 |
|
18 | 18 | # Quick Start
|
19 | 19 | 
|
20 | 20 |
|
21 | 21 | ### Installation
|
22 | 22 |
|
23 | 23 | This package requires the use of Unity's new Input System, to ensure [com.unity.inputsystem ](https://docs.unity3d.com/Packages/[email protected]/manual/QuickStartGuide.html) is installed in the project. Install it via the package manager via:
|
24 |
| - |
25 | 24 | `Window -> Package Manager => Input System`
|
26 |
| - |
27 |
| -<<<<<<< Updated upstream |
28 |
| -Next, install (copy and paste) this repo's Plugin folder into your Unity project's Assets folder. You can copy and paste the whole content, and Unity will automatically exclude the unrelated contents as their folder names have "~" characters. Those unrelated folders have the source code of the native Direct Input FFB DLL that Unity uses. Open the Sample Scene and play the scene to start working with this asset. The sample scene has one Direct Input with Force Feed Back support and an example script to read the input values. |
29 |
| -======= |
30 | 25 | Next, Go to the [Releases section of this GitHub repository](https://github.com/imDanoush/Unity-DirectInput/releases) to directly download and install the plugin with all the samples and examples, Or copy and paste the Plugin folder of this repository into the Assets folder of your Unity project and import its own Unitypackage example demo file. If Unity is opened, restart it to import the DLL file properly. The folders that end with the `~` character are automatically skipped by Unity and are used for writing the DLL file as well as the ForceFeedBack Windows App software (which you can find in `./DirectInputExplorer~\DirectInputExplorer\bin\Debug\net5.0-windows`).
|
31 | 26 |
|
32 |
| ->>>>>>> Stashed changes |
33 |
| -
|
34 | 27 | ## Supported ForceFeedback Effects
|
35 | 28 |
|
36 | 29 | | Effect |Stat|
|
@@ -96,4 +89,4 @@ If you have problems, please [raise an issue](https://github.com/MrTimcakes/Unit
|
96 | 89 | # License
|
97 | 90 |
|
98 | 91 | This project is free Open-Source software released under the LGPL-3.0 License. Further information can be found under the terms specified in the [license](/../../blob/main/LICENSE).
|
99 |
| -<a href="https://www.flaticon.com/free-icons/drive" title="drive icons">Drive icons created by Freepik - Flaticon</a> |
| 92 | +<a href="https://www.flaticon.com/free-icons/drive" title="drive icons">Drive icons created by Freepik - Flaticon</a> |
0 commit comments