public void Clear() { #if FRB_MDX mKeyboardState = null; mLastFrameKeyboardState = null; #else mKeyboardState = new KeyboardState(); mLastFrameKeyboardState = new KeyboardState(); #endif #if SILVERLIGHT mTemporaryKeyboardState = new KeyboardState(); mTemporaryKeyboardState.Initialize(); #endif }