Commit ccaf34d
committed
v1.0Final - Comprehensive DirectInput Force Feedback & Input System Overhaul
Implements a complete runtime and editor-based input management system with DirectInput Force Feedback support and IL2CPP compatibility.
Core Changes:
- Added Logitech SDK logics
- Added runtime configuration UIs (F2: Input Mapping, F3: FFB Settings)
- Implemented IL2CPP callback support with proper __stdcall convention
- Added input mapping cache with duplicate protection
- Integrated real-time device detection and configuration
Technical Improvements:
- Enhanced error handling and device connection management
- Implemented proper FFB effect cleanup and memory management
- Added DBTEvents enum support (0x0007, 0x8000, 0x8004)
- Streamlined save/load system with PlayerPrefs persistence
- Fixed IL2CPP NotSupportedException in Windows builds
The update provides a complete runtime alternative to editor-only configuration,
enabling both FFB and input mapping adjustments during gameplay while ensuring
proper IL2CPP support for production builds.
Core Changes:
- Added Logitech SDK logics
- Added runtime configuration UIs (F2: Input Mapping, F3: FFB Settings)
- Implemented IL2CPP callback support with proper __stdcall convention
- Added input mapping cache with duplicate protection
- Integrated real-time device detection and configuration
Technical Improvements:
- Enhanced error handling and device connection management
- Implemented proper FFB effect cleanup and memory management
- Added DBTEvents enum support (0x0007, 0x8000, 0x8004)
- Streamlined save/load system with PlayerPrefs persistence
- Fixed IL2CPP NotSupportedException in Windows builds
The update provides a complete runtime alternative to editor-only configuration,
enabling both FFB and input mapping adjustments during gameplay while ensuring
proper IL2CPP support for production builds.1 parent 920018e commit ccaf34d
File tree
25 files changed
+50
-1888
lines changed- DirectInputExplorer~/DirectInputExplorer/bin/Debug/net5.0-windows
- DirectInputForceFeedback~/DirectInputForceFeedback
- Plugin
- DLL
- Input
- Samples
- InputSystem
25 files changed
+50
-1888
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 8 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
| 705 | + | |
706 | 706 | | |
707 | | - | |
708 | 707 | | |
709 | 708 | | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
729 | 712 | | |
730 | | - | |
| 713 | + | |
731 | 714 | | |
732 | 715 | | |
| 716 | + | |
733 | 717 | | |
734 | 718 | | |
735 | 719 | | |
| |||
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
104 | 111 | | |
105 | 112 | | |
106 | 113 | | |
| |||
This file was deleted.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
| |||
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
98 | 114 | | |
99 | 115 | | |
100 | 116 | | |
| |||
438 | 454 | | |
439 | 455 | | |
440 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
441 | 460 | | |
442 | 461 | | |
443 | 462 | | |
| |||
This file was deleted.
0 commit comments