Got key presses working with detection of long key presses