how to use my 3d Sensor in unity3d

hello every one
We have a MTi :sunglasses:
The MTi is an excellent measurement unit (IMU) for stabilization and control of cameras, robots, vehicles and other (un)manned equipment.The MTi is a miniature, gyro-enhanced Attitude and Heading Reference System (AHRS). Its internal low-power signal processor provides drift-free 3D orientation as well as calibrated 3D acceleration, 3D rate of turn and 3D earth-magnetic field data.
more…
the problem is this : We don’t know how to use it in my unity3d engine and how to define it moving and rotating other out puts in my game code scripts?
for example We can’t write a code to this and connect its movement in a simple cube in game and when we rotating sensor in real world the cube in game rotate.
thanks:sunglasses:

I really dont know… but my guess is you should try to read data from your device via input system:

Perhaps GetAxisRaw …or something from mobile devices acceleration …things?

hi .
but input system has not function or variable for relationship with MTi device.
please look at its DLL that is written with C++ language.
Is there a way to import it into Unity And use functions like attached example?

1238724–52767–$CMT Example Dll.zip (277 KB)

please help me…

As far as i know, you can use Unity’s Input system for any kind of devices as long your OS recognize them as mouse, keyboard …or gaming device like joystick, pad…

If you need to use dll in unity, you use 'em as plugins. That is pro feature i believe. Try search with keywords like “custom device” or “using dll”.