Table of Contents

Combination Keys with orxInput

Config

[MainInput]
KEY_ENTER = ToggleFullScreenMode 
KEY_RALT  = Mode

Code

if (orxInput_IsActive("Mode") && orxInput_HasBeenActivated("ToggleFullScreenMode"))
    orxDisplay_SetFullScreen(!orxDisplay_IsFullScreen());
}