我为Mac制作了一个名为CleanKeys的小型桌面应用程序。

1作者: dadangnoes大约 22 小时前原帖
我在清洁我的Mac键盘时,经常感到沮丧,因为灰尘、油污或其他污垢总是会渗入。尽管我使用了硅胶保护套,但仍然无法完全阻挡这些污垢。 有时,当我用布和清洁液擦拭键盘时,不小心会按到某些键或触发快捷键。这就是我制作这个小桌面应用程序的原因——一个小型的macOS应用,它可以让你切换到“清洁模式”,在你擦拭键盘时忽略按键输入。它使用全局CGEvent tap来捕捉按键事件,然后在你关闭时恢复这些事件。没有网络连接,也没有分析功能。 希望这个应用对你也有帮助。别忘了给我留个星星,谢谢! 仓库链接:https://github.com/rbayuokt/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