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