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