code: public void addPressCommand (int keyCode, String command, int rate)
      {
          addPressCommand(keyCode, command, rate, DEFAULT_REPEAT_DELAY);
      }
docs: 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.
  
  @param rate the number of times each second that the key press should be repeated while the
  key is down, or <code>0</code> to disable auto-repeat for the key.