code: public void bindCommand(Control control, Command command) {
  		commands.put(control, command);
  
  		if (commandState.get(command) == null) {
  			commandState.put(command, new CommandState());
  		}
  	}
docs: Bind an command to a control.
  
  @param command
  The command to bind to
  @param control
  The control that is pressed/released to represent the command