refactor
[carveJwlIkooP6JGAAIwe30JlM.git] / steam.h
diff --git a/steam.h b/steam.h
index 47de1089a42aad244497970394fe9be1c7a3478f..360a45fd7bda6d6a070ae508faec44c22b1334b8 100644 (file)
--- a/steam.h
+++ b/steam.h
@@ -261,6 +261,9 @@ VG_STATIC void steam_update(void)
    {
       steamworks_event_loop( hSteamClientPipe );
 
+      /* TODO
+       * We can probably request this from SDL too
+       */
       if( steam_hInput )
       {
          SteamAPI_ISteamInput_RunFrame( steam_hInput, 0 );
@@ -268,7 +271,7 @@ VG_STATIC void steam_update(void)
          InputHandle_t joy0 = SteamAPI_ISteamInput_GetControllerForGamepadIndex( 
                                  steam_hInput, 0 );
 
-         vg.gamepad_use_trackpad_look = 0;
+         vg_input.controller_should_use_trackpad_look = 0;
          if( joy0 != 0 )
          {
             ESteamInputType type = SteamAPI_ISteamInput_GetInputTypeForHandle(
@@ -276,7 +279,7 @@ VG_STATIC void steam_update(void)
 
             if( type == k_ESteamInputType_SteamController )
             {
-               vg.gamepad_use_trackpad_look = 1;
+               vg_input.controller_should_use_trackpad_look = 1;
                menu_display_controller = k_menu_controller_type_steam;
             }
             else if( type == k_ESteamInputType_SteamDeckController )