Workaround for macbook pro 2016+ double key pressing problem
It checks if interval between pressing SAME button is very small (100ms by default) and canceling second keypress.
- The fastest button pressing I tried - near 150ms, so app won't block valid user input.
- All double pressing I catched are under 100ms.
You could increase inverval if app don't block some double keypresses.
- Open
config.plist
file. - Think good about timeout, edit if needed (
timeout
key) - Write key codes of buttons you want to filter. (
blacklisted_keys
key). Edit carefully, this is array of numbers. You can remove default keys (c
andenter
).
install https://itunes.apple.com/tr/app/key-codes/id414568915?l=tr&mt=12 , press button and look at Key Code
. E.g. for enter it's 36.
Other way, go to https://stackoverflow.com/questions/3202629/where-can-i-find-a-list-of-mac-virtual-key-codes , find and convert HEX to dec.
- clone or download this repo
- open terminal and go to project directory (cd ~/Downloads/ButterflyFixer)
- run
bash install.bash
- install developer tools if needed (you will be prompted)
- enter admin password
- ready. You can check status and logs by
bash status.bash
andbash logs.bash
Quartz Event
api requires admin privileges to read keyboard input, so no way to avoid this.
No. No binaries are downloaded, app is building from sources. So everything is transparent.
bash clean.bash