Puppet Class: osx::mouse::button_mode
- Defined in:
- manifests/mouse/button_mode.pp
Overview
Public: Enable one or two button mode for multitouch mice (default = 1). Requires re-login.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'manifests/mouse/button_mode.pp', line 3
class osx::mouse::button_mode($mode = 1) {
$value = $mode ? {
1 => 'OneButton',
2 => 'TwoButton'
}
boxen::osx_defaults { 'Set the button mode for multitouch mice':
user => $::boxen_user,
domain => 'com.apple.driver.AppleBluetoothMultitouch.mouse',
key => 'MouseButtonMode',
value => $value,
type => 'string'
}
}
|