Multitouch-Community icon indicating copy to clipboard operation
Multitouch-Community copied to clipboard

Middle click and drag does not work in games (and certain apps)

Open Fred-IV opened this issue 2 years ago • 1 comments

I've tried middle-click in the Apps Middle, and MiltiTouch. Both have the same issue. Total loss of control of the mouse. You cannot hold down 2 fingers, for the middle-click, then navigate with the mouse. All mouse control is gone during the middle-click hold. I was hoping to be able to middle-click for gaming. It's something wrong with these apps. The default Apple functions of left or right clicks doesn't freeze the mouse movement.

Fred-IV avatar Mar 27 '22 09:03 Fred-IV

Both of these apps are optimized for 3D modeling apps out of the box.

To adjust this for games, you can execute this terminal command and restart the app: defaults write com.brassmonkery.Multitouch mutateMouseDragEvents -bool true

You can open the About window in Middle and select Debug > Optimize for Games to get this behavior in Middle. Alternatively, the terminal command also works for middle with an app restart after: defaults write com.knollsoft.Middle mutateMouseDragEvents -bool true

In a recent update in Middle that will make its way into Multitouch, I will automatically adjust this behavior based on the app's bundle id. If you have the bundle ids for the games you play, then I can add them to the list for automatic behavior. To obtain bundle ids, right click on the app/game and select "Show package contents". You can find this in the Contents/Info.plist. I'm still considering more ways to handle this more elegantly.

rxhanson avatar Mar 28 '22 01:03 rxhanson