On MacOs Monterey 12.1
The scroll direction is shared with the touchpad and the mouse.
I would like the touchpad to be netural and mouse to not be.
I tried some applications like mos and they did not do it.
I know I can create an app to do it myself, but I really hope there are some answer for it.
I've had this exact frustration for two years and finally did a search and found a solution.
From this Apple discussion page (https://discussions.apple.com/thread/6931667), I found ScrollReverser (https://github.com/pilotmoon/Scroll-Reverser/releases/tag/v1.8.2), which installed in a second and works as soon as you set the Preferences for it.
Hope it helps you too.
Related
Is there an API in AppKit (or elsewhere) to determine if a device has a trackpad connected and enabled? I need my application to enable different behaviours on scroll events depending on whether they are coming from a two finger natural scroll gesture on a trackpad or from a vertical only scroll on a traditional mouse.
Going over the documentation, I cannot find anything and Googling didn't seem to reveal anything either.
I am using an event tap currently to receive events (also, please note that I have very little native macOS development experience so don't assume a lot of prior knowledge)
Turns out a solution to part of my problem (which is highlighted by Willeke in the comments above) can be found here: https://stackoverflow.com/a/42747641/56242
Since that doesn't offer a solution for checking if a trackpad is enabled on the system, I will not mark this as the accepted solution, even though it turns out it works for my particular use case, since someone else might come across this question and that solution doesn't fit their
EnvironmentXcode 8MacOS 10.11.6MacBook Air (circa 2013)
ProblemI've noticed recently that the Editor in Xcode seems to periodically scroll-up on its own. Which I, at least, find very annoying.
I've looked at a couple of other postings:
Xcode scrolls text while typing
XCode auto-scroll when pressing Command after a text selectionBut neither of them seem to provide a solution for me, as I'm not pressing the Command key and I'm not using multiple fingers on the touch-pad.
It seems to happen most frequently when I'm working on code near the bottom of the file, I haven't been able to narrow down the cause-and-effect scenario more than that just yet.
Query
Has anyone else noticed this?
Has anyone figured out a way to stop it?
Is there a reasonable way to report this to Apple? There doesn't seem to be an Xcode section on the http://www.apple.com/feedback/ site.
Try to disable your XCode theme if you have one. We ended up with that bug by doing this trick!
For XCode 10.1 changing the font size to 12 for the selected theme did the trick.
I'm looking to add two finger "fluid swiping" to my app. Anyone who has used the week view in the Calendar app that comes with OSX will have seen what I'm trying to do.
I have a scroll view, and I want to be able to use swipe gestures and scrolling to move the content view in the horizontal axis of my NSScrollView, ie a day or a week.
The video from WWDC 2011 titled "Scrolling, Swiping, Dragging: Now with more animation" was quite useful, and looks like it will be able to explain what I want to do, but unfortunately the sample code for PictureSwiper isn't provided with the video.
I'm aware that a newer version of PictureSwiper is avaliable, but it uses NSPageController and I'm really looking for the older Lion 10.7 way of handling things as I can't use NSPageController. Is it still possible to find the old PictureSwiper somewhere?
If not could someone explain how the PictureSwiper sample on Lion worked? I'm aware of the App note https://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKitOlderNotes.html (search for "scrollWheel:") but that has only gone part of the way to explaining the kind of functionality I am after.
Many thanks for any help.
David.
For anyone looking to this for an answer I eventually used one of my "Developer Technical Support" queries that came with my paid Dev account to ask for the old code. A few days latter an Apple engineer emailed me the old Picture Swiper.
Now that I have seen the code the App note makes complete sense! Picture Swiper moves CALayers around, but in my case I just use NSClipView's scrollToPoint:.
Within the scroll handler I just do something like: (gestureAmount * columnWidth) + currentColumnIndexOffset.
Seems to work!
When using the interface builder, if I select a button that is in my layout, the interface builder immediately zooms into that button.
Is there any way I can stop that behaviour.
i.e. I want the interface builder to just select the button and not zoom in.
XCode 4.2 snow Leopard
Post-Script. I think the answer is "you can't". One other suggestion refers to making zoom shortcuts but that does seem to help either.
In response to my own question. As of 24 hours later I think the answer is
"you can't".
One other suggestion found when researching in StackOverFlow refers to making zoom shortcuts but that does seem to help either.
Q The question is, is there a way to disable the animations happening with the trackpad-gestures at the currently public-available Xcode 4.3.2 running MacOS 10.7.3 ?
Description I'm very concerned with the new Lion animations while going forward/back with a trackpad gestures. With a keyboard shortcuts the page changes instantly and with a gesture it takes about a second or two spraying around my concentration on the things that need to be found in the code.
Tried What i tried is to read the defaults in the Terminal looking for any animation/duration keys - without success.
Notes Looks like mr. Cook criticizes the things Apple is doing itself while preparing the combined mobile/stationary look&feel. If there's any startup project that collects all the user's customizing, i'll be glad to know. So far i tried the itweax application, it doesn't have yet the expected features however.
Safari stuff is not as much about the content importance, so i would not mind to leave the Safari animations, but changing it on the system level for all the apps is also good.
PS I believe that is about the “software tools commonly used by programmers” mentioned at “What kind of questions can I ask here?” SO FAQ section.
Don't know about disabling animations but if you want to trigger app keyboard commands through gestures, I found BetterTouchTool helpful with some of the major Lion annoyances. Ex. I was able to configure FireFox to do Home/End on a 3-finger swipe up/down.
No, there is no way to disable the animation.
You can, however, disable the page swiping functionality:
System Preferences > Trackpad > More Gestures > Deselect "Swipe between pages"
Unfortunately, there is no setting to disable or change the speed of the animation.