I have a Raspberry Pi 3B and want to cross-compile a UE game for it. I was wondering how/if it was possible to get the data from a device connected to the I2C port on the RPI into the game. I’m using an MPU6050 gyroscope and want to display it’s orientation inside the game while it’s running on the Pi.
Thanks a lot in advance. Any suggestion helps!
If oyu able to make UE4 run on Pi’s ARM linux, you should be able to the access the device normal C++ way as anywhere else. I recommend to check source code to see how motion controllers are implemented in UE4 and write input support for your setup. I dont know Linux support for motion controlls in UE4, but maybe making your setup work on kernel level would be sufficient if UE4 supports motion controls on Linux overall.