Giter Site home page Giter Site logo

noah-nuebling / mac-mouse-fix Goto Github PK

View Code? Open in Web Editor NEW
4.9K 37.0 136.0 77.4 MB

Mac Mouse Fix - Make Your $10 Mouse Better Than an Apple Trackpad!

Home Page: https://macmousefix.com/

License: Other

Objective-C 57.74% C 0.36% CSS 0.01% Swift 33.35% TeX 0.39% C++ 1.56% Objective-C++ 0.45% Python 6.15%
mouse mouse-events mac-mouse mousewheel scroll scrolling smooth-scrolling remap remapping tools

mac-mouse-fix's People

Contributors

4332weizi avatar chamburr avatar dependabot[bot] avatar dingobits avatar groverlynn avatar hackmd-deploy avatar jeongtae avatar lambozhuang avatar nghlt avatar noah-nuebling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mac-mouse-fix's Issues

Custom Function for Additional Mouse Buttons

A neat feature would be to customize what the additional buttons do on your mouse (I have a Logitech Performance MX), where only the front/back function work as expected. Would be great to be able to also use the zoom and thumb buttons.

Blender compatibility – Click-and-drag middle button doesn't work [bug]

Description

First of all, brilliant piece of software, solves so many issues I had with mice macos.

However there is one issue caused by the fact that pressing the middle mouse button immediately triggers the event (if its mapped to Mission Control then it opens Mission Control). This makes it impossible to use the middle mouse button in 3d modelling programs like Blender (without disabling click middle button action).

My proposed solution is the event should only trigger if the middle mouse button has been pressed and then immediately released. Without this change a held middle button behaves the same as a pressed middle button.

Steps to reproduce

  1. Set Middle Button Click to Mission Control, Middle Button Held to -
  2. Hold Middle Button
  3. Mission Control is incorrectly triggered

Context

Mac Mouse Fix Version: 0.9.2 Beta 5
macOS Version: 11.1
Mouse Model: Rapoo 7200M

Additional Comments


Console Logs

Crash Reports

Invert side buttons "move between spaces" function [enhancement]

Description

It Will be really great to get all same but with inverted or with the possibility to invert the linked side buttons move space right and move space left

Rationale

first of all I really like your mousefix!!! I have Bluetooth mouse Razer Atheris and native driver (synapse 2) after installing macOS Big Sur was lost (don't work)

Your decision is great and the best that I found on the web, my mouse side buttons alive now!

And only one little part made me sad - is when I press the first side button I do the step right (see case 1 button 1 on the image below) and when I press the second side button I do the step left (see case 1 button 2 on the image below), I only want to invert this to that - when I press the first side button I do the step left (see case 2 button 1 on the image below) and when I press the second side button I do the step right (see case 2 button 2 on the image below)
image: [https://i.ibb.co/58m8mt0/description.jpg]

Additional info

I want to say that I don't try to add you more work and I was really trying to find at your files and code where I can rewrite button remap to my (inverted) variant, but I don't know how it works and can't find right file and code part...

If you give me info where I can find rows to swap them it will be the end of my issue

Add an option to disable mouse acceleration [enhancement]

Although it's fairly easy to set with the terminal, it gets reset every time you change sensitivity preferences and some people might prefer to not have to manually set it. If you're aiming for this to be an all-in-one mouse fixing tool I think it's probably a good feature to have.

[alt]-scrolling does not work with "Smooth scrolling" enabled

I am not able to press [alt] and scroll, which resizes the canvas in adobe apps for example when Smooth scrolling in enabled. With it disabled it actually works fine.

Edit: with [alt] I mean the alt key on a Windows keyboard. On a Mac keyboard it should be the option key which causes the issues.

Mac Mouse Fix Version 0.9 (50)
macOS 10.15 Beta 10 (19A578c)
Photoshop 20.0.0.6

"Enable Mouse Fix" checkbox is disabled, even though the helper is running when "Resuming" System Preferences on the Mouse Fix prefpane after a reboot / relogin

When the Mouse Fix prefpane is open before a shutdown / logout, it will be reopened after the next startup / login.
If macOS launches Mouse Fix Helper after Mouse Fix.prefPane, the "Enable Mouse Fix" checkbox of Mouse Fix.prefPane will be disabled even after Mouse Fix Helper has launched.

Ideas For a Solution

  • Make helper launch before System Preferences
  • Helper send an "I'm Running" message to prefPane after launching, which makes the prefPane activate the checkbox.

less smooth

Love your work here, thanks.👍🏼
Only need a feature to let me control the amount of smooth scrolling. It's perfect but i believe it's too much for me or at least for my mouse, If I could make it less smooth it would be awesome.

Add Support for Momentum Scrolling [other]

I have a mouse with a free spinning mouse wheel. It works quite well with MacOS apart from the fact that scrolling is also not really smooth. The feature in Mac Mouse Fix to allow smooth scrolling seems quite a nice thing to have. Unfortunately it removes the momentum scrolling which I really like. With smooth scrolling enabled the scrolling is smooth but I can no longer scroll large chunks by fast spinning the wheel. It would be nice to have both smooth scrolling while at the same time keeping the ability to have momentum.

Side buttons are suddenly not working anymore...

I've installed the app two weeks ago and everything worked fine. Since two days it does not work anymore, I do not know if it somehow depends on the fact that I had to restart the machine in save mode, some days ago.

It's OSX 10.14.6

Middle Mouse action is still assigned with the mouse app but side buttons just does nothing. It seems that if only side buttons are activated, the app does not recognize the side buttons from the mouse anymore. Is there a wrong remapping issue? How can I track it down?

console log does show any further information:

standard	13:01:58.733709 +0200	Mouse Fix Helper	right
standard	13:01:58.957300 +0200	Mouse Fix Helper	Input HID (InputReceiver)
standard	13:01:58.957769 +0200	Mouse Fix Helper	Input CG (InputReceiver)
standard	13:01:58.957823 +0200	Mouse Fix Helper	parsing input (Input Parser)
standard	13:01:58.957868 +0200	Mouse Fix Helper	SINGLE CLICK REMAPPING
debug	13:01:59.068684 +0200	launchservicesd	Checking app App:"Mouse Fix Helper" asn:0x0-c70c7 pid:1375 refs=5 @ 0x7f9fb2d355f0 for keys in { "CFBundleIdentifier"="com.mti.Monotype-SkyFonts" }
debug	13:01:59.489972 +0200	launchservicesd	Checking app App:"Mouse Fix Helper" asn:0x0-c70c7 pid:1375 refs=5 @ 0x7f9fb2d355f0 for keys in { "CFBundleIdentifier"="com.mti.Monotype-SkyFonts" }
standard	13:01:59.549251 +0200	Mouse Fix Helper	Input HID (InputReceiver)
standard	13:01:59.549407 +0200	Mouse Fix Helper	Input CG (InputReceiver)
standard	13:01:59.549457 +0200	Mouse Fix Helper	parsing input (Input Parser)
standard	13:01:59.549500 +0200	Mouse Fix Helper	SINGLE CLICK REMAPPING
standard	13:01:59.549523 +0200	Mouse Fix Helper	handling input (Input Parser)
standard	13:01:59.549547 +0200	Mouse Fix Helper	left
standard	13:01:59.765223 +0200	Mouse Fix Helper	Input HID (InputReceiver)
standard	13:01:59.765371 +0200	Mouse Fix Helper	Input CG (InputReceiver)
standard	13:01:59.765401 +0200	Mouse Fix Helper	parsing input (Input Parser)
standard	13:01:59.765439 +0200	Mouse Fix Helper	SINGLE CLICK REMAPPING

Invert side buttons

For some reason the side buttons on my mouse are detected in an inverted order, making the back button trigger the forward action and vice versa. Would you consider adding an option to invert the side buttons?

Prefpane doesn't load on Catalina

Screen Shot 2019-10-03 at 10 34 12 PM

This is what happens after installing the prefpane on the latest Catalina beta (19A587c), but after installing and trying to open it for the first time System Preferences force closed on me too

Cannot load on Catalina

Just updated to Catalina (10.15.0)
Screen Shot 2019-10-08 at 20 37 52

(Please note: this is after I went to "Security & Privacy" and clicked "Open Anyway")

More action request

Thanks for this awesome app ! I would love to be able to set other action with the side button as : Display MissonControl and Display the Dock !

It would be perfect !

Cheers

Slow mouse wheel scrolling is not reliable/translated correctly [bug]

Description

Side note:

I mainly use mac-mouse-fix for using my mouse side buttons to get around quickly and inverting the scroll direction, so I have natural scrolling on a trackpad and regular scrolling with a mouse.

Because I enjoy macOS' default scrolling behaviour, especially the scroll acceleration (I can't live without it anymore), I leave smooth scrolling disabled. (Now with app specific settings I might give it a try!)

Problem:
When scrolling slowly in iTerm2, the scrolling is not translated correctly.

In these two screen recordings I scrolled slowly then fast and then slowly again.

Old: (this is how it should be)
Old.mov
New: (not working correctly 😢 )
New.mov

Btw, these are my system mouse settings:

macOSMouseSettings

Steps to reproduce

  1. Download MacMouseFix 0.9.1 (PrefPane)
  2. Scroll slowly in iTerm2

Result: Lines are scrolled one by one.


  1. Download MacMouseFix 1.0.0
  2. Scroll slowly in iTerm2

Result: Some scrolling steps are ignored; lines are not scrolled one by one → no reliable/linear scrolling.

Context

Mac Mouse Fix Version: 1.0.0
macOS Version: 10.15.7
Mouse Model: Roccat Kone Pure (Polar Blue)

Additional Comments


Console Logs

Crash Reports

1.0.0 Release does not run on macOS 10.15 [bug]

Description

Just downloaded the new release. Unzipped it, and tried to run it. But the app is not supported on non macOS 11 systems.

image

Steps to reproduce

Context

Mac Mouse Fix Version: 1.0.0
macOS Version: 10.15.7
Mouse Model: –

Can't notarise Mac Mouse Fix with Apple

Hi there! Developer here.

Unfortunately, I have not yet been able to notarise Mac Mouse Fix with Apple, and I suspect that this is causing issues for some users on Catalina.

If you think you might be able to help with this issue please check out this thread on the Apple Developer Forums where I detailed my issue in a comment under the username 'noahfromhamburg'. Thank you!

MouseFix Nonfunctional on M1 Mac [other]

Recently purchased a new M1 Mac and mouse fix is completely nonfunctional. In System Preferences, I am unable to open up the preferences pane or access the software in anyway.

well done

我找了半天类似的应用,终于发现这个了,赞👍

Add support for command line executables in app-specific settings [enhancement]

Description

Basically, allow adding any arbitrary file to the app-specific settings, so long as, on disk, it has the x attribute for at least the running user. Not folders, but executable files.

Rationale

I would like to block Mouse Fix for the version of the java runtime which is retrieved by the Minecraft Launcher. Unfortunately, it doesn't appear to run as an app bundle, but rather a command line executable embedded in a bundle, located under a directory inside ~/Library/Application Support/minecraft/. This folder will change any time the Runtime is updated, but at least being able to add the current version would be handy.

Even easier would be if it were possible to drag a running application's dock icon onto the app-specific settings page. Currently, I can only drag the java binary which I locate with Finder, and because it's not an .app bundle, the whole PrefPane crashes itself.

Additional info

For now, I shall just turn off the Mouse Fix globally while playing the game. Incidentally, with near identical settings, including resolution, Optifine, and Sildur's shaders, Extreme with Volumetric Lighting, it runs much better on macOS than Windows on the same machine. Damn, AMD's OpenGL Windows drivers suck.

Doesn't work with 10.11?

Many thanks for this fix! It works great on 10.14.

But on my old Macbook, which is stuck with 10.11, it refuses to start, saying: "This preference pane requires OS X 10.12 or later. Your computer has OS X 10.11.6 installed."

Since the webpage says "for MacOS 10.11+" is there any chance to make it run on 10.11?

Disable on a per app basis

Description

Would love to be able to disable the functionality for specific apps.

Rationale

Example: VLC volume is changing 70% per scrollwheel tick. A bit too much if you ask me ;-)

Additional info

Thanks for your great work!

Can't scroll in long NSMenus

I noticed this in Karabiner and couldn't think of another application with a very long list to test, but if you build an empty app with a NSMenu and add 100 NSMenuItems you should be able to reproduce it.

Given the default scroll behavior (1 item per scroll notch without acceleration), this might be related to #3, but rather than scrolling very quickly it just doesn't scroll at all.

How can I disable Cmd + scroll override from Mac Mouse Fix for all? [enhancement]

Hi,

I love using Mac Mouse Fix for the configuring extra buttons on my external mouse. It has been very helpful.
I have been using, as well, another mouse config app (Mos) for smoother scrolling (with scroll inertia), configurable keys for horizontal scroll and dash scroll. I have maintained the smooth scroll on Mac Mouse Fix off.

When Mac Mouse Fix was a System Preferences pane, they have worked perfectly together. Mac Mouse Fix would manage the extra mouse buttons; Mos for scrolling.
However, since the latest update, which changed to an app, Cmd + scroll has always been taken over by Mac Mouse Fix (resulting in non-smooth scrolling as I have the setting off on MMF; turned on in Mos). Normal scrolling still works with the smooth scrolling managed by Mos, though.

The only way I have so far found out to disable MMF’s Cmd + scroll intervention is to add specific apps in App-specific settings to exclude them one by one. Is there a way to just disable it for all?

Thanks a lot.

Allow use of ctrl + side buttons

This is feature request

Firstly, this is a great tool! I use the trackpad but every now and then I like to use my actual mouse and we all know that the Mac mice are horrible so this tool is perfect.

What I do see is that although I have the ability to switch screens, I have lost the ability to efficiently "swipe two fingers" and go back and forth.

If you allow your application to have side buttons to switch screens and ctrl + side buttons to mimic the swiping left and right with two fingers that would be great! Then using the mouse you can:

  • switch screens
  • go back/forward in webpages

Doesn't work with mouses that don't have side buttons

I have a simple mouse that only has left click, right click, and a clickable scroll wheel. There's no way to map Ctrl+Left Click, etc to swiping left or right. I can't use the app since I don't have side buttons.

Microsoft Precision Mouse troubles

Noticed an issue with Microsoft Precision Mouse

After installing Mouse Fix (0.9.1), a problem appeared, the middle of the side buttons stopped working, which switched programs like Cmd + Tab

Can I fix this somehow?

Screenshot 2020-10-06 at 12 23 31

[WORKAROUND] Mouse Fix can't be opened because Apple cannot check it for malicious software

Duplicate of #17 and #23. Opening a new issue for visibility into this workaround.

Catalina users are getting the following error:
Screen Shot 2019-12-19 at 3 16 50 PM

As @noah-nuebling points out in #17, this app needs to be notarized by Apple, but a developer account costs $99 a year.

The workaround for opening the app anyway is to run the following in your terminal:

sudo spctl --master-disable

This will enable you to open apps by any developer without Gatekeeper blocking it. Result after the above command:
Screen Shot 2019-12-19 at 3 29 33 PM

@noah-nuebling it might be worth adding these instructions into your install instructions if you want to keep maintaining this wonderful tool!

Can't invert scroll without smooth scroll

I don't use smooth scrolling because I personally think the smoothing curve is too slow. However,I still want to use invert direction Can invert direction be made separate from smooth scroll so it can be toggled independently? Thanks

Disable invert scrolling for trackpad

I love to use the "natural scrolling" on my trackpad of my Macbook, but I like to have it "normal" on my mouse if I am at my desk.

So would it be possible to just use the inverted scrolling for actual mice?

invalid API object reference

When i try to run the sudo spctl --add ~/Library/PreferencePanes/Mouse\ Fix.prefPane command, i get the a invalid API object reference error

Smooth scrolling not working [bug]

Description

I've been using Mac Mouse Fix for a while as the Pref Pane extension and everyitng worked except the Smooth Scrolling feature. I have now downloaded from Git the official app version, and it still does not work. Any help would be appreciated! Also, can this app interfere with Better Touch Tool?

Steps to reproduce

Context

Mac Mouse Fix Version: 1.0.1
macOS Version: macOS Big Sur 11.2.2
Mouse Model: Logitech Vertical Ergo

Additional Comments

The version of the Pref Pane extension is 0.9.1. (243)


Console Logs

Crash Reports

Looked but none existed

Scroll randomly behaves like zoom

BUG: When using the side buttons to flick back and forth between spaces, every now and then the scroll will suddenly behave like i have ctrl held down and zoom in and out of the page instead of scrolling up and down. if i leave it for a second it will start scolling up and down as expected (without me changing anything). Obviously annoying as I have to reset my page zoom level using ctrl + 0. Any ideas on this?

Scroll Wheel on external USB suddenly stopped working while mouse fix is enabled.

Description

I connected a new mouse to my machine. Everything was working as expected. I only use Mouse Fix for scroll direction and smooth scrolling, button functionality I handle with Karabiner Elements. After about an hour or two, my scroll wheel stopped working, and I can see in my event viewer that the system is no longer detecting scroll events from the mouse. If i disable Mouse Fix it works again, natively.

Steps to reproduce

Context

Mac Mouse Fix Version: 0.9.1
macOS Version: 10.15.7
Mouse Model: Deltaco Wired optical silent mouse

Additional Comments


Console Logs

Crash Reports

https://pastebin.com/4WSPLrY5

"Hold" option also for side buttons [enhancement]

Description

It would be cool if it was possible to select a behavior when holding side buttons.
This, for example, could allow to:

  • click side buttons to go back and forward;
  • hold them to move between spaces
    and viceversa

Rationale

Side buttons are very useful and this could be, with #29 a good way to allow to do multiple actions.
I think and hope this enhancement would be easy for you to realize.

image

well I see that maybe the work is already done but it isn't activated.

Thanks for all your work

Support for more side buttons

First of all, I wanted to say that among all apps that try to fix this problem, this one is undoubtly the best! If it's possible, can you add support for other mouse buttons? I got a Razer Viper that has 2 side buttons on each side. Thanks a lot!

Add app specific side button settings [enhancement]

Description

Add the same side button config dropdown in the app specific menu.

Rationale

Currently, the back and forward mouse button doesn't work with Microsoft RDP when Mac Mouse Fix is on and the side button option is set to Back and Forward.

To get around this, either set the side buttons to Side buttons globally when using RDP or turn off Mac Mouse Fix entirely.

Additional info

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.