#pragma once #include "olcPixelGameEngine.h" #ifdef __EMSCRIPTEN__ #define STEAM_INPUT_MAX_COUNT 0 #define STEAM_INPUT_MAX_ORIGINS 0 #define STEAM_CALLBACK(arg1,arg2,arg3) enum EInputActionOrigin{}; using InputHandle_t=uint64_t; using InputActionSetHandle_t=uint64_t; class GamepadTextInputDismissed_t{}; inline void SteamAPI_RunCallbacks(){}; #define STEAMINPUT(statement) if(false){} #define STEAMUTILS(statement) if(false){} #else #define STEAMINPUT(statement) if(SteamInput()){statement} #define STEAMUTILS(statement) if(SteamUtils()){statement} #endif