Table of Contents

Combination Keys with CombineList

Config

[MainInput]
KEY_ENTER = Select # ToggleFullScreenMode ;E.g. Enter key is used for two different actions
KEY_RALT  = ToggleFullScreenMode ;Right-Alt and Enter keys are both set for ToggleFullScreenMode 
 
CombineList = ToggleFullScreenMode ;Must be combined to trigger the ToggleFullScreenMode action

Code

if (orxInput_HasBeenActivated("ToggleFullScreenMode")){
    orxDisplay_SetFullScreen(!orxDisplay_IsFullScreen());
}