Hi. I'm looking for a little code snippet that works something like this.
I'm currently using my shift key to switch some of my abilities to abilities better suited for AOEing. I'm playing around with addon code and need some help converting this idea into the required LUA.
If I double push my shift key (Push it down, let go a moment after, then push it back down again a moment after that and hold it down), then print something like "Shift key is double held" to main chat window. It's something like double clicking your mouse and instead of letting go after the second click goes down, you hold it down, but I want it for my shift key.
Thanks in advance.