V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
louchenabc
V2EX  ›  macOS

我用 hammerspoon 解决了 macbook pro 14 寸 command + 轻点触摸板问题

  •  
  •   louchenabc · Jun 29, 2022 · 1882 views
    This topic created in 1399 days ago, the information mentioned may be changed or developed.

    问题详细描述:macbook pro 14 寸 command + 轻点触摸板问题,历时 9 个月 apple 仍未解决

    有 v 友反馈论坛上也很多相关讨论,所以再发一个帖,希望能帮助到有需要的人。

    网上没搜索到解决办法,只好自己用 hammerspoon 写了个脚本来解决。

    代码仓库:https://github.com/lcomplete/hammerspoon_mbp14_tap_to_click_fix

    在解决过程中,我对比了直接 tap 和按住 cmd 时 tap 两种情况所收到的触摸板事件,当收到的事件相同时也有 cmd + tap 无效的情况,而有时按住 cmd 时接收到的 tap 事件较少(个人感觉,无法百分百确认),所以即使可以通过模拟的方式解决该问题,也无法排除不是硬件故障。

    这个脚本我使用了一下午了,暂时没发现什么问题,所以到底是什么故障也觉得无所谓了。

    2 replies    2024-12-20 10:54:23 +08:00
    vincentchyu
        1
    vincentchyu  
       Jun 30, 2022   ❤️ 1
    赞,我也有这个困扰,单是没想到的是用这个监听事件,我是写了一些屏幕布局的东西,
    https://github.com/uncleyeung/yeung-hammerspoon-myconfig
    pig198x
        2
    pig198x  
       Dec 20, 2024
    2024 了 command+tap 难友前来报到,不理解苹果在搞什么东西。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3661 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 04:37 · PVG 12:37 · LAX 21:37 · JFK 00:37
    ♥ Do have faith in what you're doing.