@Override public void handleMouse(int transitionState,int button,int x,int y,int delta){
  inputBuffer.add(new GlobalMouseEvent(this,transitionState,button,buttons^=button,x,y,delta));
}

@ Override public void handleMouse ( int transitionState , int button , int x , int y , int delta ) { inputBuffer . add ( new GlobalMouseEvent ( this , transitionState , button , buttons ^= button , x , y , delta ) ) ; }
handle the input transitionstate create event and add it to the inputbuffer
