Ejemplo n.º 1
0
void State::activate()
{
	disableFeedbackOfAllVips();

	if (mMouse.good())
		mMouse.activate();

	if (mKeyboard.good())
		mKeyboard.activate();

	if (mJoystick.good())
		mJoystick.activate();
}
Ejemplo n.º 2
0
void State::activate()
{
    // This will fix a bug which can occur on state change.
    disableFeedbackOfAllVips();

    if (mMouse.good())
        mMouse.activate();

    if (mKeyboard.good())
        mKeyboard.activate();

    if (mJoystick.good())
        mJoystick.activate();
}