-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Doesn't capture button presses since Ventura - KATAR Pro Wireless [bug] #362
Comments
Hey @greybaron, thanks for opening this issue and adding so much detail! The line you pointed out is very important I think.
IOHIDDeviceOpen is necessary to handle your Buttons, so this would explain the behavior you see. TCC stands for “Transparency, Consent and Control” and it is a system service that basically manages the permissions you give to apps. Error code e00002e2 is kIOReturnNotPermitted. So the issue is that there are some permissions that Mac Mouse Fix doesn’t have but which it needs to run. I would assume it’s the Accessibility Permissions as those are the only permissions that Mac Mouse Fox normally needs. The thing that is weird is that the accessibility framework seems to tell Mac Mouse Fix Helper that it does have accessibility permissions, otherwise it shouldn’t even try to call IOHIDDeviceOpen. So off the top of my head I can think of these ideas for what to try next:
|
Thank you for the detailed reply. I did upgrade from another build (I think it even was the unofficial build/workaround for early Ventura versions, so assuming the dev signature changed, that could also cause issues). I'm currently fighting macOS on this, any time I disable accessibility perms for MMF, macOS completely softlocks. Maybe Ventura is buggy, or that issue is related |
Ohh I’m sorry I didn’t mention that, always disable any apps before you revoke its accessibility permissions. Otherwise you get the soft locking. Very annoying, but it’s a macOS issue that I can’t really do anything about I think. Sometimes it stops after wiggling my mouse around for 20 minutes but I usually just force restart my computer. |
I removed the permission, deleted MMF and rebooted, then reinstalled. It works now! Maybe as a workaround there is a somewhat easy way to detect this condition, and show the user these tips to solve the issue. |
Great! Really glad that’s sorted out!
Yeah that’s a good idea. I’m hoping this will get resolved before Ventura releases, but if not, the permission errors when calling IOHIDDeviceOpen despite the accessibility framework telling us we have the relevant permissions is a weird thing we could detect and maybe warn the user about with some solution ideas. Thanks for helping to figure this stuff out! |
Gladly, this program is amazing 😉 |
But it still not working for me, I've tried every possible and described way but it stays the same. In the screenshot, I removed all the default functionality of the middle button. After that, I was trying to add the middle button by clicking the middle button on the plus sign and it doesn't detect it. Should I step down to macOS 12? |
Just to clarify. Have you done all of these steps in this exact order?
If you have and it still isn't working, it is most likely a different issue. You should create a new issue and add details like Console logs. |
Yes, I did it in exact order. |
Someone emailed me with the exact same symptoms that @samiulhsnt reported in #424 and they told me some additional info that suggests it's not the same problem that @greybaron had. So @samiulhsnt I think you're right and your issue is different from @greybaron's. I plan to work on trying to solve your issue very soon! |
Description
Using 2.2.1 Beta 3 and the mouse's USB dongle.
Worked fine in Monterey, but since Ventura the preset button actions like Mission Control/Spaces don't work; neither does button detection when trying to map to a new button. Only button 1 and 2 trigger the message that they can't be remapped.
Smooth scrolling still works.
In the event log, there are a few messages like:
0x.......... TCC deny IOHIDDeviceOpen
Error opening device. Code: e00002e2
Steps to reproduce
Use (newest) Ventura beta, and (probably) this specific mouse
Context
Mac Mouse Fix Version: 2.2.1 Beta 3
macOS Version: Ventura beta 22A5331f
Mouse Model: Corsair KATAR Pro Wireless
Additional Comments
–
Console Logs
https://pastebin.com/W5Q09KFK
Crash Reports
–
The text was updated successfully, but these errors were encountered: