User Tools

Site Tools


en:examples:input:combination_keys_with_orxinput

This is an old revision of the document!


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.1547892732.txt.gz · Last modified: 2019/01/19 06:12 (6 years ago) (external edit)