
微妙な問題があります。私は Mac Mini で PQ Labs の大型マルチタッチ スクリーンを使用しています。これは、アプリケーションをフルスクリーン モードで実行する展示会で使用しています。ただし、OS X にはフルスクリーン モードを終了するタッチ ジェスチャ (すべての指でピンチする) が組み込まれているため、ユーザーが誤ってアプリケーションを終了してデスクトップに戻ることがあります。問題は、Mac がタッチ パッドなどのタッチ デバイスを検出していない場合、システム環境設定のジェスチャの設定にアクセスできないことです。私の場合、PQ Labs スクリーンには独自のドライバーがあるため、OS X によってタッチ デバイスとして検出されず、ジェスチャを非アクティブ化できません。起動時にスクリプトなどでこの問題を解決する方法はありますか?
答え1
トラックパッドがアクティブになっていないため、システム環境設定の設定を変更するために Apple のトラックパッドを借りる必要があるかもしれません。そうでない場合は、次の方法が機能する可能性があります。
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadFourFingerPinchGesture -int 0
この値を0に設定するすべき設定を無効にします。繰り返しますが、これがタッチスクリーンで機能するかどうかはわかりません
試してみることのできる他の値は次のとおりです。
タップしてクリックを無効にする
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool false
2本の指でタップすると右クリックと同じ効果が得られます
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
3本指タップを有効にする(上を見る)
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerTapGesture -int 2
3本指のドラッグを無効にする
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerDrag -bool false
ズームインまたはズームアウト
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadPinch -bool true
スマートズーム、2本指でダブルタップ
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadTwoFingerDoubleTapGesture -bool true
回転
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRotate -bool true
通知センター
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadTwoFingerFromRightEdgeSwipeGesture -int 3
2本の指でページ間をスワイプします
defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
全画面アプリ間をスワイプする
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 2
その他のマルチフィンガージェスチャーを有効にする
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerVertSwipeGesture -int 2 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadFourFingerVertSwipeGesture -int 2 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadFourFingerHorizSwipeGesture -int 2 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadFiveFingerPinchGesture -int 2