Raw Input plugin warning

Hello,

After installing the Raw Input plugin v1.0 I get this error message flooding my console continuously…

LogOcInput: OculusInput is initialized
LogRawInputWindows: Warning: Found device 0 devices
LogRawInputWindows: Warning: Found device 0 devices
LogRawInputWindows: VenderID:4d8 ProductID:11
LogRawInputWindows: Device was registered succesfully and is connected (Usage:4 UsagePage:1)
LogAssetRegistry: Asset discovery search completed in 3.2363 seconds
LogCollectionManager: Rebuilt the object cache for 0 collections in 0.000000 seconds (found 0 objects)
LogCollectionManager: Fixed up redirectors for 0 collections in 0.000117 seconds (updated 0 objects)
LogContentStreaming: Texture pool size now 1000 MB
LogRawInputWindows: Warning: Failed to read button caps: c0110004:HIDStatusUsageNotFound
LogRawInputWindows: Warning: Failed to read button caps: c0110004:HIDStatusUsageNotFound
LogRawInputWindows: Warning: Failed to read button caps: c0110004:HIDStatusUsageNotFound
LogRawInputWindows: Warning: Failed to read button caps: c0110004:HIDStatusUsageNotFound
LogRawInputWindows: Warning: Failed to read button caps: c0110004:HIDStatusUsageNotFound
LogRawInputWindows: Warning: Failed to read button caps: c0110004:HIDStatusUsageNotFound
LogRawInputWindows: Warning: Failed to read button caps: c0110004:HIDStatusUsageNotFound

So much so that it is making the editor really laggy.

I installed the plugin to use my flight pedals. They are being detected and working correctly. I also have Oculus Rift CV1 with touch controllers connected, also detected and working correctly.

Any idea what this error means, or how I would go about troubleshooting it? I don’t have any extra hardware that would cause this I believe…

Bump! Having same issue with pedals. Trying to figure out what’s up with this.

Ok, so I found the problem and the solution, and in case someone has any contact in Epic, they need to add small fix in RawInput plugin.
This warning comes when Joystick do not have buttons. One example I know is Thrustmaster Pedals.

In RawInput in method :

void FRawInputWindows::ParseInputData(const int32 InHandle, const RAWINPUT* InRawInputDataBuffer, PHIDP_PREPARSED_DATA InPreParsedData, const HIDP_CAPS& InCapabilities)

They are not testing for situation when there are no buttons. And because of that, we get the warnings.

Solution is to copy RawInput plugin to your solution plugins directory and change above method to include check for No Buttons, something like:

// buttons
uint16 NumButtonCaps = InCapabilities.NumberInputButtonCaps;
if (NumButtonCaps > 0)
{

With this change, we would read buttons only if there are at least one button.