Giter Site home page Giter Site logo

Comments (12)

pilotmoon avatar pilotmoon commented on August 23, 2024 1

@katsos Was this a one off or are you able to reliably demonstrate Scroll Reverser interfering with 3-finger tap in 10.11?

Anyone else?

It seems to me Apple fixed it.

from scroll-reverser.

katsos avatar katsos commented on August 23, 2024 1

@invariant not anymore. just checked it.

seems fixed.

from scroll-reverser.

chestnutchen avatar chestnutchen commented on August 23, 2024

+1

from scroll-reverser.

allen-zh avatar allen-zh commented on August 23, 2024

+1 hope it fixed

from scroll-reverser.

pkamb avatar pkamb commented on August 23, 2024

I hit this same Three Finger Tap issue in PowerKey; I should have made the connection earlier.

// Do not grab NSEventTypeGesture - NSEventTypeEndGesture.
// If we grab these events, three-finger loop up will be disabled by unknown reason.
// (a bug of OS X?)

Fix was to add additional event types to your CGEventTap's CGEventMask beyond the main event types you are listening for.

In my case I ended up ignoring the below NSKeyUp etc. event types, but adding all others to the mask.

https://github.com/pkamb/PowerKey/blob/master/PowerKey/PKPowerKeyEventListener.m#L40

    CGEventMask eventTypeMask = NSSystemDefined;

    /*
     The power key sends events of type NSSystemDefined.
     We'd idealy monitor *only* NSSystemDefined events.
     But there are various bugs with certain other applications if we do.
     Therefore, we need to grab other events as well.
    */

    for (NSEventType type = NSLeftMouseDown; type < NSEventTypeGesture; ++type) {
        switch (type) {
            case NSKeyDown:
            case NSKeyUp:
            case NSEventTypeRotate:
            case NSEventTypeBeginGesture:
            case NSEventTypeEndGesture:
                break;
            default:
                eventTypeMask |= NSEventMaskFromType(type);
        }
    }

pkamb/PowerKey#5
pkamb/PowerKey@e152ac1

from scroll-reverser.

pilotmoon avatar pilotmoon commented on August 23, 2024

Thanks for this @pkamb. Very interesting. Unfortunately NSEventMaskGesture is one of the events that is do need to track. I've experimented quickly with adding in more types and nothing so far. Good to hear I am not alone on this.

from scroll-reverser.

pilotmoon avatar pilotmoon commented on August 23, 2024

Some more info about this problem for people who may find this page:

  • If you run BetterTouchTool all the same time as Scroll Reverser, the problem goes away. As pointed out to me by Tony Chen on Twitter. So, there's a kind of fix right there. (Very mysterious!)
  • ctrl-cmd-D also activate the dictionary lookup, if you didn't know

if anyone has any more ideas about how to fix this, please do share.

from scroll-reverser.

pilotmoon avatar pilotmoon commented on August 23, 2024

Thought I had it, but 28a4d56 was a false alarm.

from scroll-reverser.

katsos avatar katsos commented on August 23, 2024

Just to inform...
I had the natural scroll off and I reversed the touchpad vertical and horizontal.
That gave me the problem with the 3-finger gesture.

I solved it, enabling natural scroll and reversing mouse instead of trackpad.

from scroll-reverser.

pilotmoon avatar pilotmoon commented on August 23, 2024

Further note. This seems to be a non-issue on (OS X 10.11 El Cap) and above.

from scroll-reverser.

katsos avatar katsos commented on August 23, 2024

@invariant I encountered it and I am on a Mac with OS X 10.11.6

from scroll-reverser.

pilotmoon avatar pilotmoon commented on August 23, 2024

Closing as this problem appears to be fixed on macOS 10.11 and 10.2.

from scroll-reverser.

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.