Skip to content

MSmithDev/AirAPI_Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9643f5a · Jan 10, 2025

History

37 Commits
Feb 28, 2023
Feb 28, 2023
Mar 3, 2023
Mar 1, 2023
Jan 10, 2025
Mar 3, 2023
Dec 1, 2023
Dec 1, 2023
Feb 28, 2023
Mar 28, 2023
Apr 6, 2023
Feb 28, 2023
Feb 28, 2023
Feb 28, 2023
Feb 28, 2023

Repository files navigation

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.