Esempio n. 1
0
void UpdateGamepad(InputState &input_state)
{
    LayoutGamepad(dp_xres, dp_yres);

    buttonO.update(input_state);
    buttonX.update(input_state);
    buttonTri.update(input_state);
    buttonSq.update(input_state);

    buttonLeft.update(input_state);
    buttonUp.update(input_state);
    buttonDown.update(input_state);
    buttonRight.update(input_state);

    buttonSelect.update(input_state);
    buttonStart.update(input_state);
    buttonLShoulder.update(input_state);
    buttonRShoulder.update(input_state);

#if defined(__SYMBIAN32__) || defined(IOS)
    buttonPause.update(input_state);
#endif

    if (g_Config.bShowAnalogStick)
        leftStick.update(input_state);
}
Esempio n. 2
0
void UpdateGamepad(InputState &input_state)
{
	LayoutGamepad(dp_xres, dp_yres);

	buttonO.update(input_state);
	buttonX.update(input_state);
	buttonTri.update(input_state);
	buttonSq.update(input_state);

	crossPad.update(input_state);

	buttonSelect.update(input_state);
	buttonStart.update(input_state);
	buttonLShoulder.update(input_state);
	buttonRShoulder.update(input_state);

	if (g_Config.iFpsLimit)
		buttonVPS.update(input_state);
	else 
		buttonTurbo.update(input_state);

#if defined(__SYMBIAN32__) || defined(IOS) || defined(MEEGO_EDITION_HARMATTAN)
	buttonPause.update(input_state);
#endif

	if (g_Config.bShowAnalogStick)
		leftStick.update(input_state);
}
Esempio n. 3
0
void UpdateGamepad(InputState &input_state)
{
	buttonO.update(input_state);
	buttonX.update(input_state);
	buttonTri.update(input_state);
	buttonSq.update(input_state);

	buttonLeft.update(input_state);
	buttonUp.update(input_state);
	buttonDown.update(input_state);
	buttonRight.update(input_state);

	buttonSelect.update(input_state);
	buttonStart.update(input_state);
	buttonLShoulder.update(input_state);
	buttonRShoulder.update(input_state);

	if (g_Config.bShowAnalogStick)
		leftStick.update(input_state);
}