I've been using XMBC's simulated keys function to simulate a repeated pressing of the left mouse button so long as I press down on mouse button 4. Now I am looking for a way to do the very same thing, only holding LMB for .5 seconds each time.
So basically, as long as mouse button 4 is pressed, I want the input to be: press LMB, hold for .5 seconds, release, then immediately press again and keep repeating that until I let go of mouse button 4. Any ideas?