Coder Social home page Coder Social logo

airapi_windows's People

Contributors

msmithdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

airapi_windows's Issues

Add License

Hello folks, could you please add a license to this project repo? Preferably an MIT license so any forks are free to do whatever. If not, can you please confirm what common license applies?

Thanks and amazing work, Iโ€˜m working on a port to another platform & will contribute any useful changes.

Add support for Nreal Light and Rokid Air

Hi,
The current API supports only the Air. What would you need to add support for the Light and Rokid Air? Both use a very similar HID magic packet to switch from 2D to SBS 3D mode.

I have a USB 2.0 sniffer. I have some dumps that I could share of you want. They were taken with (an old) Lecroy USB Analyzer, and require Lecroy's USB Protocol suite

I'm not able to record new ones as Nebula refuses to open now asking me to update, but Nreal hasn't made Nebula available in the Netherlands :\ I don't currently have the Rokids with me. I'm not sure if I have any dumps from them either.

The Light's HID device VID is 0x0486 and the PID is 0x573C.

The Rokid's HID VID is 0x04D2 and the PID is 0x162F.

Where did you get the payload from to retrieve gyroscope data?

I was looking into your source code and I've seen this payload you send first to receive data from the interface providing orientation data. It seems to be necessary from my testing on Linux (the interface won't provide anything without it). However I don't get it to work with this payload in Python using libusb (unsure why though).

Is there any more detailed information I could look into? I want to try writing a user-space driver which can be used on devices like the Steam Deck to use orientation data with the nreal Air, so the screen isn't virtually glued to your head.

The best I could currently do was reverse-engineering different bytes in the data stream I get from the interface with number 4 which you use to retrieve the brightness. For example it's possible to track whether the display is turned on/off and still receive input events from the buttons while the screen is off by my own testing. ^^

Know when to restart the connection

Hi,

First off, let me say thank you for your incredible and noble hard work, getting this API working. I use a pair of Xreal Air 2 pro and they work great with it. I'm using it within a unity app and it's really cool.

The issue that I have found is that, after like 10 mins or more, I have to unplug-replug the glasses and restart the software to make it work again. I'm guessing that is because I'm not calling stopconnection, but then again, how do I know when to call it? I was thinking if I knew the user is not wearing them anymore for the moment, I would disconnect, and force the software to reconnect after, but in order to do that, I need to know when I should.

So my idea about it was either learn about a way using the current API to do it, or let you guys know what is happening in order for you to implement an update with some sort of detection of when the glasses are off, or when the user is not wearing them. I believe the first choice would be smoother, since the Xreal guys are already turning off-on the glasses.

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.