aboutsummaryrefslogtreecommitdiff
path: root/device_openbsd.go
blob: 5d1f5f748fb993b986da13b08fe5340bcd477fc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// note: ulpt* doesn't support read(), thus this dev is broken atm.
// use instead ugen* by disabling ulpt at boot time
// see config(8) for details
package robo

import "log"

func NewDevice() Device {
	dev, err := NewLP("/dev/ugen0.00")
	if err != nil {
		log.Fatal(err)
	}
	return dev
}