DEADSOFTWARE

added navigation in menu using joysticks
[d2df-sdl.git] / src / game / g_main.pas
index ccad27b86c8e700b0b8ecaa43ff0f4d00d7a44b3..5daed9b341abb7e029f41863d229117e35b1d23b 100644 (file)
@@ -202,10 +202,12 @@ begin
   e_InitInput();
   g_Touch_Init;
 
+(*
   if (e_JoysticksAvailable > 0) then
     e_WriteLog('Input: Joysticks available.', TMsgType.Notify)
   else
     e_WriteLog('Input: No Joysticks.', TMsgType.Notify);
+*)
 
   if (not gNoSound) then
   begin
@@ -500,7 +502,7 @@ begin
           g_Console_Switch()
       end;
 
-    IK_ESCAPE, VK_ESCAPE: // <Esc>:
+    IK_ESCAPE, VK_ESCAPE, JOY0_JUMP, JOY1_JUMP, JOY2_JUMP, JOY3_JUMP: // <Esc>:
       begin
         if gChatShow then
         begin