public void addPressCommand ( int keyCode , String command , int rate ) { addPressCommand ( keyCode , command , rate , DEFAULT_REPEAT_DELAY ) ; }
Adds a mapping from a key press to an action command string that will auto - repeat at the specified repeat rate . Overwrites any existing mapping and repeat rate that may have already been registered .