From 4ddb6ba3337f9f2149eef5a27bca5583c3b82ad6 Mon Sep 17 00:00:00 2001 From: Casey Corcoran Date: Wed, 24 Jun 2015 09:32:05 -0400 Subject: [PATCH] Add another default for later OSX versions --- recipes/tap_to_click.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/recipes/tap_to_click.rb b/recipes/tap_to_click.rb index eafd3a1..4751d77 100644 --- a/recipes/tap_to_click.rb +++ b/recipes/tap_to_click.rb @@ -1,16 +1,22 @@ -osxdefaults_defaults "Tap to click 1/3" do +osxdefaults_defaults "Tap to click 1/4" do domain 'com.apple.driver.AppleBluetoothMultitouch.trackpad' key 'Clicking' boolean true end -osxdefaults_defaults "Tap to click 2/3" do +osxdefaults_defaults "Tap to click 2/4" do domain 'NSGlobalDomain' key 'com.apple.mouse.tapBehavior' integer 1 end -osxdefaults_defaults "Tap to click 3/3" do +osxdefaults_defaults "Tap to click 3/4" do domain 'com.apple.mouse.tapBehaviour' integer 1 end + +osxdefaults_defaults "Tap to click 4/4" do + domain 'com.apple.AppleMultitouchTrackpad' + key 'Clicking' + integer 1 +end