Extending Functionality of Magic Mouse: Do I Need a kext?

后端 未结 4 479
囚心锁ツ
囚心锁ツ 2020-12-02 09:41

I recently purchased a Magic Mouse. It is fantastic and full of potential. Unfortunately, it is seriously hindered by the software support. I want to fix that. I have done q

4条回答
  •  渐次进展
    2020-12-02 10:11

    Sorry I forgot to update this answer, but I ended up figuring out how to inject multitouch and gesture events into the system from userland via Quartz Event Services. I'm not sure how well it survived the Lion update, but you can check out the underlying source code at https://github.com/calftrail/Touch

    It requires two hacks: using the private Multitouch framework to get the device input, and injecting undocumented CGEvent structures into Quartz Event Services. It was incredibly fun to figure out how to pull it off, but these days I recommend just buying a Magic Trackpad :-P

提交回复
热议问题