An open API service indexing awesome lists of open source software.

https://github.com/raggi/ohmd

ohmd - a Go wrapper for OpenHMD
https://github.com/raggi/ohmd

go headset ohmd tracking vr

Last synced: over 1 year ago
JSON representation

ohmd - a Go wrapper for OpenHMD

Awesome Lists containing this project

README

          

ohmd - an OpenHMD wrapper for go

A quick example:

c := ohmd.New()
c.Probe()
d, _ := c.ListOpenDevice(0)
for {
c.Update()
q, _ := d.Getf(ohmd.ROTATION_QUAT)
fmt.Printf("%v\n", q)
time.Sleep(1 / 60 * time.Second)
}

See the following locations for documentation:

http://godoc.org/github.com/raggi/ohmd
http://openhmd.net/

See ohmd_test.go for an Example:
https://github.com/raggi/ohmd/blob/master/ohmd_test.go