evilC / TapHoldManager

An AHK library for Long Press / Multi tap / Multi tap and hold
MIT License
124 stars 13 forks source link

Pause/Resume/Remove Functionality #5

Closed omareg94 closed 4 years ago

omareg94 commented 4 years ago

Add Pause/Resume/Remove hotkey functionality. Test Example is included.

evilC commented 4 years ago

Sorry for putting another one on you, only really had a chance to skim it the other day. Would recommend renaming PauseKey, ResumeKey, RemoveKey to something else - using the word Key does not seem to sit right as THM can be used for mouse or joystick buttons - so replace Key with Button I guess? Please remove the example code from TapHoldManager.ahk - either put it in the documentation (Readme.md) or add it as one or more separate files. I am happy to do the documentation though, so if you like you can just completely remove it

omareg94 commented 4 years ago

@evilC It's okay I'm happy to any edits :) and thanks for following up and trying to make code enhanced I think word Hotkey seems to be more accurate than word button. What do you think? PauseKey, ResumeKey, and RemoveKey are now replaced with PauseHotkey, ResumeHotkey, and RemoveHotkey. Also I moved examples to separate file named SimpleExample2.ahk

evilC commented 4 years ago

Yeah, that sounds OK