Giter VIP home page Giter VIP logo

Comments (3)

ther0n avatar ther0n commented on September 17, 2024

Hi @deanc,

I'm not sure if I completely understand what you are asking. UnnaturalScrollWheels assumes that you want content to scroll up when you move your fingers down on trackpads ("natural") but for content to scroll up when moving your finger up on the top of the scroll wheel with mice ("unnatural"). In System Settings the natural scrolling checkbox under trackpad is "linked" to the setting for the mouse. Toggling it in one place toggles it in the other which is confusing but the reason I made the app.

With UnnaturalScrollWheels running, checking the box to invert vertical scrolling will invert vertical scrolling from whatever you have set in System Settings only for mice with physical scroll wheels. To get your preferred settings (assuming there were no misunderstandings) you will need to have "Scroll Direction: Natural" checked for Trackpad/Mouse (remember the two are the "linked", which is confusing), and in UnnaturalScrollWheels preferences you will need to invert vertical scrolling (and horizontal if you want that).

To do the opposite, where moving your fingers down on the trackpad moves the content down ("unnatural") while moving your fingers down on a scroll wheel moves the content up ("natural"), you will need to uncheck "Scroll direction: Natural" in System Settings, and have "Invert vertical(and optionally horizontal) scrolling" checked in UnnaturalScrollWheels settings.

If things are working on both mouse and trackpad as you'd expect before plugging in the monitor but stop once you plug in the monitor, that's probably a separate issue. I'd need more information about how you have things wired so I can see if I can reproduce the issue, otherwise it will be quite a challenge to fix. What kind of mouse is it? Is the mouse connected to the monitor? Is the monitor connected to the computer through Thunderbolt?

Let me know if that helps, and any additional information you can give me about your setup if it didn't. Thanks!

from unnaturalscrollwheels.

deanc avatar deanc commented on September 17, 2024

Hi ther0n. Sorry I had misunderstood what this was a workaround for. The issue that I have (consistently) is that every time I unplug a monitor (could just be USB mouse but the two usually co-incide through a dongle) my settings for trackpad get inverted. Conversely I then fix them, and when I then plug in my mouse it's back to what it was before. I presume this is somewhat related to the issue you are trying to fix here.

Steps to reproduce (in my case) are pretty simple:

  • On just the macbook (no ext. monitor or mice at this point) set trackpad scroll direction to "Natural"
  • Plug in a usb mouse (via dongle)
  • Mouse scroll direction is now "Natural", set it back to "Unnatural"
  • Unplug dongle
  • Go to trackpad settings, track is now also set to unnatural

from unnaturalscrollwheels.

ther0n avatar ther0n commented on September 17, 2024

Ah ok. You did understand correctly and the app does what you want. The two setting for scroll direction for the trackpad is "linked" to the mouse setting. I don't know why Apple decided to design the settings this way, but UnnaturalScrollWheels fixes/works around the issue. Here's what's happening:

  1. On just the macbook (no ext. monitor or mice at this point) set trackpad scroll direction to "Natural"
  • When you set the scroll direction for the trackpad, you are also setting the scroll direction for the mouse without realizing it since either checkbox toggles the option in both locations.
  1. Plug in a usb mouse (via dongle)
  • Nothing changes.
  1. Mouse scroll direction is now "Natural", set it back to "Unnatural"
  • Mouse scroll direction is set to "Natural" because you turned it on for the trackpad in step one.
  • When you set it back to "Unnatural" it's also changing the trackpad option.
  1. Unplug dongle
  • Nothing changes.
  1. Go to trackpad settings, track is now also set to unnatural
  • The trackpad option was changed when you set the scroll direction to "Unnatural" in step 3.

UnnaturalScrollWheels makes it so that you can leave "Natural" scrolling on for the trackpad/mouse (since you can't toggle them independently) but will invert scroll events if they come from physical scroll wheels on a mouse.

from unnaturalscrollwheels.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.