I am developing a custom gaming device like Leap Motion. But I am wondering how to plan structure of SDK's and drivers. Basically, my device (MCU with bluetooth) will transfer data through Bluetooth to the Host device (Linux, MAC, PC, Android and iOS) and then that the data will be processed through opencv program. Then the processed data can be used by Unity Games.
I particularly don't want to embed OpenCV code in Unity code.
How does devices like Leap Motion, Oculus Rift, Wii Remote handle this ?