Python capture Keystrokes values in text file on OS X

前端 未结 2 1816
陌清茗
陌清茗 2021-02-10 15:56

I am trying to monitor keystrokes on my Macbook on order to build a statistics analyzer. But how can I isolate the chars from \"event\" which is more something like :

2条回答
  •  北恋
    北恋 (楼主)
    2021-02-10 16:52

    For using Keycode module. Just clone it from here and run "sudo setup.py install" . You will have keycode module https://github.com/abarnert/pykeycode

提交回复
热议问题