echostorm / AirAPI_Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AirAPI_Windows

This is a work in progress driver for the Nreal Air for native windows support without nebula. The current configuration for fusion has slight drift and needs to be tuned but is functional. This project is a colaberataive effort by the community to provide open access to the glasses.

This is made possible by these wonderful people:
https://github.com/abls
https://github.com/edwatt
https://github.com/jakedowns

Feel free to support me with a coffee. https://www.buymeacoffee.com/msmithdev

Precompiled

To use the precompiled AirAPI_Windows.dll you also need to include hidapi.dll available here.

Here is a demo in the wiki for use with unity scripts.

Here is a Unity demo using the XR plugin with the Airs setup as a headset.

Building from source

Getting hidapi

Get the latest hidapi-win.zip from here.

unzip hidapi-win.zip to "deps" folder ("deps/hidapi-win").

Build Fusion

Clone this project

Goto project directory

cd AirAPI_Windows

Init sub module

git submodule init

update the module

git submodule update

cd to "deps/Fusion/Fusion"

Run cmake

cmake .

Open the Project.sln and build the project
You should have a "deps/Fusion/Fusion/Release/Fusion.lib" file.

Build AirAPI_Windows DLL

Open AirAPI_Windows.sln and make sure "Release" and "x64" are set and build.

About

License:MIT License


Languages

Language:C++ 91.8%Language:C 8.2%