Let touch controls work even if they are not displayed, some people like this.

This commit is contained in:
Henrik Rydgard 2013-04-10 00:59:52 +02:00
parent d46812a49f
commit be755cb253

View File

@ -161,8 +161,9 @@ void EmuScreen::update(InputState &input) {
return;
// First translate touches into native pad input.
if (g_Config.bShowTouchControls)
UpdateGamepad(input);
// Do this no matter the value of g_Config.bShowTouchControls, some people
// like to use invisible controls...
UpdateGamepad(input);
UpdateInputState(&input);