MrTimcakes / Unity-DirectInput

Unity Native Plugin to expose DirectX DirectInput ForceFeedback
GNU Lesser General Public License v3.0
31 stars 11 forks source link

DirectInputManager.Poll generates garbage #13

Open magnusfox opened 7 months ago

magnusfox commented 7 months ago

When profiling our game, we've found that DirectInputManager.Poll method generates garbage on each frame (about 0.8 to 1.6 KB, which is a significant amount in a game that produces around 2KB in total per frame). Any chance this can be looked into to determine why? Thanks!