User Tools

Site Tools


en:examples:input:combination_keys_with_orxinput

Combination Keys with orxInput

Config

[MainInput]
KEY_ENTER = ToggleFullScreenMode 
KEY_RALT  = Mode

Code

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

en/examples/input/combination_keys_with_orxinput.txt · Last modified: 2019/01/19 14:12 (16 months ago) (external edit)