Exemple #1
0
// TODO: set by deviceid
func (tpad *Touchpad) leftHanded(enabled bool) {
	for _, info := range tpad.DeviceList {
		wrapper.SetLeftHanded(info.Deviceid, info.Name, enabled)
	}
}
Exemple #2
0
func (m *Mouse) leftHanded(enabled bool) {
	for _, info := range m.DeviceList {
		wrapper.SetLeftHanded(info.Deviceid, info.Name, enabled)
	}
}