How can I add support for DJI Remote Controller?

Hello everyone, im working on a drone project and im having trouble adding support for FPV RCs, in my case the DJI FPV Remote Controller 2. I’ve already tried the way over the RawInput Plugin and I was able to get some useable data. However, the range is weirdly mapped. For example the left analogue stick always returns values between -0,322 and 31,678. I utilized the offset to push it in the center and with the scale set to something like 0,016 I get roughly -1 to 1 but now the values are jumping from minus to plus. So not there are not useable.

Other games and websites are having no issues of just picking the controller up. Is there something I missed? Or should I add a mapper to my drone itself.

Its a very niche question, so Im open for every new approach.
Cheers!

Hey did you ever figure this out? I’m also trying the same. I was able to recognize the model using python in Blender but I also wanna try now in Unreal Engine.

Please let me know, and if I also find anything I’ll keep you posted.

Thanks!
Marcos

IG Handle: @medel.fpv

Hey there, sorry for the late reply.

I actually gave up. There is sadly no native support in my Unreal project. To this day I dont know how a HTML5 based gamepad-tester-website having no issues with reading the controller and Unreal’s RawInput method completely refuses to work at all. I tried reading different channels, installing weird out-dated and discontinued DJI Software, nothing helped.

My non-educated guess would be, that RawInput expects only linear values and the controller sends data in a different format. If someone reads this (probably not) I would recommend to brute force Unreal to recognize the controller as a controller. Everyone else, even windows, doesnt have issues with it.

My solution in the end was the Xbox 360 Controller Emulator called “X360CE”. And yet again a software released in 2011 having no issues reading the controller. Just Unreal doesnt know what to do. Its just bananas.