Exemplo n.º 1
0
// TODO: set by deviceid
func (tpad *Touchpad) motionThreshold(thres float64) {
	for _, info := range tpad.DeviceList {
		wrapper.SetMotionThreshold(info.Deviceid, thres)
	}
}
Exemplo n.º 2
0
func (m *Mouse) motionThreshold(thres float64) {
	for _, info := range m.DeviceList {
		wrapper.SetMotionThreshold(info.Deviceid, thres)
	}
}