just a thought.. (not sure how the model is being used.. since I program Java and never tried mouse/keyboard clicks)
hope I helped!Code:while(m.MousePressed()){ //while button is down do k.keyPress(KeyEvent.VK_Q); //press Q (for example) wait(200);} //delay 200ms (change it as you wish) if(m.MouseClicked()){ //if mouse was clicked (hold-release) k.keyPress(KeyEvent.VK_Q);} //press Q