Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The middle button cannot be detected on MacOS Ventura [bug] #424

Closed
MSamiulHasnat opened this issue Oct 26, 2022 · 21 comments
Closed

The middle button cannot be detected on MacOS Ventura [bug] #424

MSamiulHasnat opened this issue Oct 26, 2022 · 21 comments

Comments

@MSamiulHasnat
Copy link

Description

Recently I've upgraded to the MacOS Ventura. I was using Mac Mouse Fix since previous version (Monterary or something similar). Middle Button (Wheel) was working fine with that version. But It is not working on this latest version. Try to fix it up asap.

Steps to reproduce

Context

Mac Mouse Fix Version: 2.2.2
macOS Version: Ventura
Mouse Model: –

Additional Comments


Console Logs

Crash Reports

@noah-nuebling
Copy link
Owner

noah-nuebling commented Oct 26, 2022

Hi! Thanks for your feedback. Unfortunately I don’t know what might be causing these issues. But here are some troubleshooting steps:

  1. Disable Mac Mouse Fix. Close it.
  2. Install AppCleaner by FreeMacSoft, then delete Mac Mouse Fix. AppCleaner should give you a pop up to also remove residue. Make sure you deleted the file at "~/Library/Application Support/com.nuebling.mac-mouse-fix/config.plist". It contains all the settings and state for Mac Mouse Fix, and maybe it has been corrupted.
  3. Delete all versions of Mac Mouse Fix from your computer. Search for "Mac Mouse Fix" with Spotlight to make sure you deleted everything.
  4. Empty your trash
  5. Go to System Settings > Privacy & Security > Accessibility and remove “Mac Mouse Fix Helper” using the “-“ button at the bottom.
  6. Restart your computer, reinstall Mac Mouse Fix, and try again!

Hope that helps! Let me know how it goes.

@noah-nuebling
Copy link
Owner

noah-nuebling commented Oct 27, 2022

Someone else with the same issue fixed it using these simplified steps:

  1. Delete all versions of Mac Mouse Fix
  2. Empty the Trash
  3. Restart your computer
  4. Download the latest version of MMF from the Website and try again

@MSamiulHasnat
Copy link
Author

MSamiulHasnat commented Oct 28, 2022 via email

@noah-nuebling
Copy link
Owner

noah-nuebling commented Oct 28, 2022

Okay a few more things you could try:

  • Follow the long version of the steps (the one with 6 steps above).
  • If that still doesn't work, try this online mouse test and see if it recognizes the middle button on your mouse. Try testing with Mac Mouse Fix disabled and with Mac Mouse Fix enabled.
    • If it doesn't work while MMF is disabled, it's probably a hardware issue with your mouse. But If it does work while MMF is enabled, then that tells us some stuff about what's going on internally in MMF.
  • Last thing you could do is gather some Console Logs as described on the 'Bug Report' page and send me those. Try MacMouseFixApp-2.2.2-Debug-for-Samiul.zip for that as it will output more detailed information to the Console.

Let me know if you have any more questions or if anything is not entirely clear!

@noah-nuebling
Copy link
Owner

noah-nuebling commented Oct 28, 2022

This person also had the same issue #423.
They could resolve it by completely removing 'Mac Mouse Fix Helper' from Accessibility Settings and then restarting. (This step is also contained in the 6 steps above. The 6 steps contain everything that has worked for someone so far.)

@MSamiulHasnat
Copy link
Author

MSamiulHasnat commented Oct 29, 2022 via email

@MSamiulHasnat
Copy link
Author

I just noticed one thing, none of my buttons (5+) except primary left and right is working. I'm using an onMicro BT5.1 Mouse.

@noah-nuebling
Copy link
Owner

noah-nuebling commented Nov 1, 2022

Hey @samiulhsnt,

Thanks for getting back! I now finally have time to look into your issue!

Here are some things you could test to shed light on things:

  1. In MMF 3.0.0 Beta 4 if you go to the 'Buttons' tab and click 'Reset to defaults...' with your mouse it should tell you how many buttons your mouse has. How many buttons is that?
  2. Do other versions of Mac Mouse Fix work? You could test 2.2.3 and 3.0.0 Beta 3. After you download another version, it's best if you delete all other versions of Mac Mouse Fix and restart your computer before testing it.
  3. Record some Console Logs of what Mac Mouse Fix does internally when you click buttons on your mouse:
    1. Open and enable Mac Mouse Fix 3.0.0 Beta 4
    2. Go to Console.app > Action and enable 'Include Info Messages' and 'Include Debug Messages'
    3. Go to Console.app > Search and enter 'Mac Mouse Fix'
    4. Go to Console.app > [Your device name] and click 'Start streaming'
    5. Click some buttons on your mouse (other than Mouse Button 1 and Mouse Button 2 (aka left click and right click))
    6. Copy-paste logs which occured around the time when you clicked the buttons and send them to me.

Explanation:

Mac Mouse Fix uses some low level APIs to determine on which mouse you are clicking a button. When those low level APIs fail, it just ignores that click. Several of the things point to these APIs not working correctly for your mouse.

The tests above should give more insight into what's going on especially the Console Logs.

Thanks for helping out!

Oh and in the mean time if Mac Mouse Fix isn't working I can recommend these alternatives to you:

Hope that helps! Let me know if anythings confusing!

@noah-nuebling
Copy link
Owner

noah-nuebling commented Nov 1, 2022

Hey @samiulhsnt, did the bug go away or should I reopen this?

@MSamiulHasnat
Copy link
Author

It is not solved, Let me give you a screenshot

@MSamiulHasnat MSamiulHasnat reopened this Nov 1, 2022
@MSamiulHasnat
Copy link
Author

Screenshot 2022-11-01 at 8 55 49 AM

Screenshot 2022-11-01 at 8 57 09 AM

Screenshot 2022-11-01 at 9 28 19 AM

Look at these, it says 5+ buttons but captures only the additional two buttons with primary buttons. And also look at the consol log

@noah-nuebling
Copy link
Owner

Thanks for those screenshots. Another user with the same problem had "0 buttons" showing up for their mice. But that's not the case for you so that's interesting.

When you click buttons there should be logs in the Console starting with "Received CG". For each "Received CG" log there needs to be a messages starting with "Received HID" shortly before. Otherwise the button click will be ignored by Mac Mouse Fix. My theory is that something is preventing the "Received HID" messages from occuring on your system.

This is what it should look like

Screenshot 2022-11-01 at 15 11 05

You can filter for "Mac Mouse Fix Helper" instead of just "Mac Mouse Fix" and also filter for "Received" to find these logs more easily because there will be thousands of logs each second.

@stevenya97
Copy link

stevenya97 commented Nov 1, 2022

Having the same issues here with the middle button on my Razer Orochi V2 on 2.2.3. Was fine before the upgrade to Ventura. Tried some of the recommended fixes like removing from Accessibility settings, reinstall after deleting the app and restarting. Posting the output of the log here with the 2.2.2 debug app you posted above. The Back and Forward functions I assigned work no issues.

consolelogs-debug.txt

this is my settings for reference
Screenshot 2022-11-01 at 12 47 36 PM

@noah-nuebling
Copy link
Owner

Hey @stevenya97, thanks for the info!

In the logs you sent I can't see any signals from the middle button. Does this online mouse test pick up your middle button?

@stevenya97
Copy link

stevenya97 commented Nov 1, 2022

@noah-nuebling I figured it out! The test failed to detect the middle mouse button so I tried it again on my Windows PC. It worked perfectly fine there and was detected on the test site which made me think it had to do with the onboard memory profile. I checked Razer Synapse software and sure enough the middle mouse button was reassigned to a function that doesn't exist in MacOS. I reverted it to the default middle click function, reconnected to Mac, and now the middle mouse functions work with Mac Mouse Fix. Turns out the firmware/profile of the mouse buttons does override certain standard mouse functions on Mac. I likely changed the function on my Windows PC by accident sometime between Ventura releasing and today. Sorry for the panic!

Maybe if more people report this as an issue, you could write a footnote somewhere to try to reset their mouse. Cheers!

@noah-nuebling
Copy link
Owner

noah-nuebling commented Nov 1, 2022

No worries! Glad that's figured out. Thanks for getting back.

Maybe if more people report this as an issue, you could write a footnote somewhere to try to reset their mouse.

Yes that might be a good idea, thanks for your input!

@noah-nuebling
Copy link
Owner

@samiulhsnt, I made some changes that might help with your issue:

MacMouseFixApp-ForSamiul.zip

Let me know if you notice any difference!

@noah-nuebling
Copy link
Owner

noah-nuebling commented Nov 3, 2022

I'll close this Issue now as it has been resolved for the other person with the same problem.

Let me know if the problem still occurs and I'll reopen this Issue.

Thanks for your help!

@noah-nuebling
Copy link
Owner

Also the fix from "MacMouseFixApp-ForSamiul.zip" is implemented in the latest 3.0.0 Beta 5 if you want to check it out!

@kayg04
Copy link

kayg04 commented Aug 27, 2023

Hey, I am using the beta6 and I am experiencing this issue. I had everything working fine on v2 until I accidentally disabled accessibility perms of Mac Mouse Fix (which also prevents the mac from receiving any input btw, maybe that's a separate issue). I switched to v3beta6, hoping to get rid of the bug but nope, the middle button is not detected and upon trying to restore defaults, I get this:

image image

@cmdrkatee
Copy link

cmdrkatee commented Mar 29, 2024

UPDATE: Issue fixed. I think.

Hi there, I'm Using Beta 5 after troubleshooting and reading these threads. I have the same issue as above, and tried resetting the mouse profile on my windows PC, as mentioned by @stevenya97.
I'm still getting the issue where the middle button is not recognised, but the mouse is including that it has 6 buttons.
Screenshot 2024-03-29 at 11 25 35
Screenshot 2024-03-29 at 11 25 15
Screenshot 2024-03-29 at 11 24 44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants