Added repeater.

Added repeater so that if keydown is not followed by keyup, it will
continue sending command repeatedly.