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 06:12 (6 years ago) by 127.0.0.1