-
Notifications
You must be signed in to change notification settings - Fork 0
ohmd - a Go wrapper for OpenHMD
License
raggi/ohmd
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
About
ohmd - a Go wrapper for OpenHMD
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published