public void HandleKeyboardEvent()
	{
		int key = Keyboard.getEventKey();
		
		if (IsInKeyRange(key))
		{
			if (Keyboard.getEventKeyState())
			{
				if (mRecordingKeys)
				{
					if (key == 14)
					{
						if (inputString.length() > 0)
						{
							inputString = inputString.substring(0, inputString.length() - 1);
						}
					}
					else
					{
						inputString += KeyToString(key);
					}
				}
				
				KeyDown(key);
			}
			else
			{
				KeyUp(key);
			}
		}
	}