added recognizing "y/Y" and "n/N" keys to answer request dialog
authorHolger Schemel <info@artsoft.org>
Fri, 20 Apr 2018 22:34:53 +0000 (00:34 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 20 Apr 2018 22:35:15 +0000 (00:35 +0200)
src/tools.c

index bccd90cfa3d7ebde8caf094c7554a80063353f82..87478255cfe81a26d71ce89f7c9ea41906b22041 100644 (file)
@@ -4181,6 +4181,8 @@ static int RequestHandleEvents(unsigned int req_state)
                break;
 
              case KSYM_Return:
+             case KSYM_y:
+             case KSYM_Y:
 #if defined(TARGET_SDL2)
              case KSYM_Select:
              case KSYM_Menu:
@@ -4192,6 +4194,8 @@ static int RequestHandleEvents(unsigned int req_state)
                break;
 
              case KSYM_Escape:
+             case KSYM_n:
+             case KSYM_N:
 #if defined(TARGET_SDL2)
              case KSYM_Back:
 #if defined(KSYM_FastForward)