我做了一个小巧的 Mac 桌面应用,名叫 CleanKeys。

1作者: dadangnoes7 个月前
我经常对清理 Mac 键盘上的灰尘、油污或其他污垢感到沮丧。即使我使用了硅胶保护套,这些污垢还是会渗透进去。<p>有时候,当我用布和清洁液擦拭键盘时,会不小心按到一些键或触发快捷键。这就是我制作这款小桌面应用的原因,这款小巧的 macOS 应用可以让你切换“清洁模式”,这样在擦拭键盘时,按键操作就会被忽略。它使用全局 CGEvent 钩子来拦截键盘事件,然后在你关闭它时恢复这些事件。没有网络连接,也没有分析功能。<p>希望它也能帮到你。别忘了点个星,谢谢!<p>代码库:https:&#x2F;&#x2F;github.com&#x2F;rbayuokt&#x2F;CleanKeys
查看原文
I often get frustrated when cleaning my Mac keyboard from things like dust, oil, or other dirt. Even though I use a silicone cover, it still gets through.<p>Sometimes when I wipe it with a cloth and cleaning liquid, I accidentally press some keys or trigger shortcuts. That’s why I made this small desktop app, this tiny macOS app that lets you toggle “Cleaning Mode” so key presses are ignored while you wipe the keyboard. It uses a global CGEvent tap to swallow key events, then restores them when you turn it off. No network, no analytics.<p>hopefully it helps you too. Don’t forget to leave a star, thanks!<p>Repo: https:&#x2F;&#x2F;github.com&#x2F;rbayuokt&#x2F;CleanKeys