toothbrush/debounce-mac

error message

DanGrayson opened this issue · 3 comments

$ sudo ./debounce
2019-03-03 10:47:02.194 debounce[59588:499245] Initializing an event tap.
2019-03-03 10:47:02.205 debounce[59588:499245] Unable to create event tap.  Must run as root or add privlidges for assistive devices to this app.
2019-03-03 10:47:02.205 debounce[59588:499245] No Event tap in place!  You will need to call listen after tapEvents to get events.

I tried this with no effect:

screen shot 2019-03-03 at 10 55 24 am

Any suggestions?

Never mind, it's "Terminal" that needs the permission.

$ sudo ./debounce
Password:
2019-03-03 11:00:24.290 debounce[59994:509314] Initializing an event tap.
2019-03-03 11:00:24.305 debounce[59994:509314] Registering event tap as run loop source.

Just had the same issue (Dan's comment helped). Maybe it's a reason to update the error message and/or a README?
Thanks.

I didn't even realise this was a thing — thanks for figuring it out! I haven't been using debounce because i've changed keyboards 😅

Also this got lost in my Github notification spam — apologies for being an absentee maintainer. I'll make a note in the README. Thanks @DanGrayson and @singalen!