OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions
SdlEnumTranslation.h File Reference
#include <SDL.h>
#include "Library/Platform/Interface/PlatformEnums.h"
#include "Library/Platform/Interface/PlatformOpenGLOptions.h"
#include "Library/Logger/LogEnums.h"

Functions

PlatformKey translateSdlKey (SDL_Scancode key)
 
PlatformKey translateSdlGamepadButton (SDL_GameControllerButton button)
 
PlatformKey translateSdlGamepadAxis (SDL_GameControllerAxis axis)
 
PlatformModifiers translateSdlMods (uint16_t mods)
 
PlatformMouseButton translateSdlMouseButton (uint8_t mouseButton)
 
PlatformMouseButtons translateSdlMouseButtons (uint32_t mouseButtons)
 
int translatePlatformVSyncMode (PlatformVSyncMode vsyncMode)
 
SDL_GLprofile translatePlatformOpenGLProfile (PlatformOpenGLProfile profile)
 
SDL_LogPriority translatePlatformLogLevel (LogLevel logLevel)
 
LogLevel translateSdlLogLevel (SDL_LogPriority logLevel)
 

Function Documentation

◆ translatePlatformLogLevel()

SDL_LogPriority translatePlatformLogLevel ( LogLevel  logLevel)

◆ translatePlatformOpenGLProfile()

SDL_GLprofile translatePlatformOpenGLProfile ( PlatformOpenGLProfile  profile)

◆ translatePlatformVSyncMode()

int translatePlatformVSyncMode ( PlatformVSyncMode  vsyncMode)

◆ translateSdlGamepadAxis()

PlatformKey translateSdlGamepadAxis ( SDL_GameControllerAxis  axis)

◆ translateSdlGamepadButton()

PlatformKey translateSdlGamepadButton ( SDL_GameControllerButton  button)

◆ translateSdlKey()

PlatformKey translateSdlKey ( SDL_Scancode  key)

◆ translateSdlLogLevel()

LogLevel translateSdlLogLevel ( SDL_LogPriority  logLevel)

◆ translateSdlMods()

PlatformModifiers translateSdlMods ( uint16_t  mods)

◆ translateSdlMouseButton()

PlatformMouseButton translateSdlMouseButton ( uint8_t  mouseButton)

◆ translateSdlMouseButtons()

PlatformMouseButtons translateSdlMouseButtons ( uint32_t  mouseButtons)