![]() The device was gone from XInput, yet it still reported it present and was accepting SetVibration calls with no error, but with a long thread stall on each call. They behaved worse than Xbox 360 devices, requiring the multi-threaded approach to prevent issues. Well, I was seeing the same old frame-capping behavior when sending vibrations again even though I had already implemented multi-threaded input and output. I debugged down at every level to find out what was possibly causing this lag as it made no sense that it would be stalling the main thread. There was zero code in Rewired that was accessing XInput from the main thread. Mad Catz Rat 7 Lag Update Through InputAction Mad Catz Rat 7 Lag Code In Rewired #Mad Catz Rat 7 Lag Update Through InputAction.This has been the root cause of many problems in many different ways. It's not something Rewired is doing, but what Rewired is doing is being affected by what Unity is doing. Here's another example I ran into.Rewired's native XInput implementation implements a separate output thread for handing vibrations so the main render thread is never affected by slow responses from XInput when sending a vibration. ![]() It was reported to me that some game was having a 3-4 second period of frame-rate crashing lag on the main thread when sending vibrations in rapid succession with a specific device and then forcibly removing the battery to disconnect the device (or the battery just dies). ![]() Disabling Rewired's native input is essentially crippling the whole system because native input provides so much functionality that is not available through UnityEngine.Input. I never consider disabling native input a viable solution to problems. Hi, I'm having a problem with the new input system.It's akin to an emergency shutoff switch, but should not be used under 99% of circumstances in my view.Let's make believe you are a mail room clerk tasked with coding the firmware for a mouse. In my game, the input gets read every update through InputAction.ReadValue, and everything works fine. But after about 20 seconds of playing, the inputs stop registering for around 10 seconds before registering again and everything works as normal. 4+ Gaming Mouse USB Black 7200dpi 9 Buttons 30G Lag-free - 64.74.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |