Changed from the keyboard press function to one that sends the command, waits 10ms, and then clears it. This is to allow it to interface with the orbsis system which only detects keyboard events once every 10ms.