Skip to content

raggi/ohmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages