X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=steam.h;fp=steam.h;h=360a45fd7bda6d6a070ae508faec44c22b1334b8;hb=e591be4b2ed26bbaaea79eff64e7b6070362a6ef;hp=47de1089a42aad244497970394fe9be1c7a3478f;hpb=2a6a779a1ad3f1a781e2437732bc62055096439e;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/steam.h b/steam.h index 47de108..360a45f 100644 --- 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 )