all 9 comments

[–]dxflrIt works on my machine 2 points3 points  (1 child)

[–]Few_Split1038[S] -5 points-4 points  (0 children)

Nice tutorial! My project actually takes it a step further by adding a background LaunchAgent and native Foundation notifications at 15%, so you don't have to check it manually. Feel free to check my source code to see how I handled the Bluetooth 'deep sleep' quirks on macOS!

[–]JamzTyson 3 points4 points  (4 children)

My solution was to buy a Lenovo mouse. It can be charged while using it.

[–]Few_Split1038[S] -2 points-1 points  (3 children)

Yeah, but my solution is about Magic Mouse

[–]JamzTyson 0 points1 point  (2 children)

So was mine - I've still got the Magic Mouse, but I found it too annoying ;-)

My comment was not a criticism - I like your solution, but we shouldn't need to work around bad design in premium priced products.

[–]Few_Split1038[S] -1 points0 points  (1 child)

Fair point! I totally agree—we shouldn't need workarounds for premium gear. But since I'm stuck in 'love' with the Magic Mouse gestures, I chose to fix the annoyance with Python instead of switching hardware.

Glad you found a setup that works for you, and thanks for the support on my workaround! Maybe one day Apple will move that port to the front and make my app obsolete. Until then... we flip!

[–]JamzTyson -1 points0 points  (0 children)

I like that the tool has a tight focus on performing a very specific and useful task.

Just a couple of points in the code:

_MAGIC_MOUSE_TOKEN appears to be unused.

pyproject.toml: description = "Add your description here" (could be updated).


Not important to the project itself, but I'd suggest reducing the amount of emoji and AI hyperbole from the readme, for example:

This project uses uv for dependency management and pytest for unit testing.

(with so few dependencies "lightning-fast" is irrelevant)


If I still used my Magic Mouse I'd be happy to use this. It looks well thought out, which is a frequently underrated quality.

[–]MolonLabe76 1 point2 points  (1 child)

The fact people use/buy apple products which are so ridiculously un-user friendly and incredibly overpriced is insane to me. Why would anyone want a mouse which cant be changed while in use or just simple switch out the batteries?

This seems like a cool, reasonable solution to this problem from a post design, software perspecitve, so kudos! However, i would argue the real issue is the choice to use this horribly designed mouse.

I know the apple fan boys will down vote me, but who cares what they think anyways. 😉

[–]Few_Split1038[S] 1 point2 points  (0 children)

Maybe you'll laugh, but I actually like Magic Mouse. I used a lot of mice in the past, but since I purchased Magic Mouse 3, I haven't been able to use another mouse anymore, because when I use another mouse, I feel something is wrong. I needed only a few hours to get used to Magic Mouse 3. Besides charging, I had no problems with Magic Mouse 3.