Add touch input support in opentyrian menu, third commit:

- Add support for changing the software scaler in the menu by touch
This commit is contained in:
Bernhard Kaindl
2012-08-07 11:27:06 +02:00
parent dab7890e46
commit 6bf5a97c15

View File

@@ -165,7 +165,7 @@ void opentyrian_menu( void )
JE_playSampleNum(S_CURSOR);
break;
case SDLK_LEFT:
if (sel == 2)
if (sel == menu_item_scaler)
{
do
{
@@ -178,7 +178,10 @@ void opentyrian_menu( void )
}
break;
case SDLK_RIGHT:
if (sel == 2)
#ifdef ANDROID
case SDLK_RETURN:
#endif
if (sel == menu_item_scaler)
{
do
{
@@ -189,8 +192,10 @@ void opentyrian_menu( void )
while (!can_init_scaler(temp_scaler, fullscreen_enabled));
JE_playSampleNum(S_CURSOR);
}
#ifndef ANDROID
break;
case SDLK_RETURN:
#endif
case SDLK_SPACE:
switch (sel)
{