Click and turn on sound. Really simple Every time you click or press space, it adds 0.5 to a variable. Then, it checks if the variable contains a decimal point (.), if it does, then it clicks the pen up or down.
No haptic feedback tho :(