This is probably not very relevant to ue4, but here is what I want to do:
Connect an accelerometer to my C++ UE4 project…
How would I do this?
I really need any help C++ pros can give.
This is probably not very relevant to ue4, but here is what I want to do:
Connect an accelerometer to my C++ UE4 project…
How would I do this?
I really need any help C++ pros can give.
Do you have a 64bits library to access your accelerometer?
If so, there are many posts here and on the forum for integration of an “external” dll to your project but to make it simple:
// in build.cs
PublicAdditionalLibraries.Add(@“c:/YourProject/Binaries/Win64/YourLib.lib”);
Use your .h and .cpp like in any other project. But try to put the #include of the external library in your .cpp to avoid conflicts with the zillions of Unreal #include.