Difference between revisions of "VN fnc module UI gestureMenu KeyHandler"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
Lou Montana (talk | contribs) m (Text replacement - "call VN_" to "call [[VN_") |
||
Line 44: | Line 44: | ||
|r1d= | |r1d= | ||
− | |x1= <code>(findDisplay 46) displayAddEventHandler ["KeyUp", { call VN_fnc_module_UI_gestureMenu_KeyHandler; }];</code> | + | |x1= <code>(findDisplay 46) displayAddEventHandler ["KeyUp", { call [[VN_fnc_module_UI_gestureMenu_KeyHandler; }];</code> |
}} | }} |
Revision as of 20:16, 26 February 2021
{{Function
|v= 1.00
|author= Dscha
|a=
|e= local
|g1= gesture_menu
|d= "keyUp" UI Eventhandler function, runs code and blocks standard key. Default key: Y (on a QWERTY keyboard). Uses VN_fnc_kbm_getKey.
|s= [display, key, shift, ctrl, alt] call VN_fnc_module_UI_gestureMenu_KeyHandler
|p1n= display |p1t= Display or Control |p1d= EH display or control, unused |p1v= nil
|p2n= key |p2t= number |p2d= pressed key |p2v=
|p3n= shift |p3t= boolean |p3d= is shift key pressed |p3v=
|p4n= ctrl |p4t= boolean |p4d= is ctrl key pressed |p4v=
|p5n= alt |p5t= boolean |p5d= is alt key pressed |p5v=
|r1t= |r1d=
|x1= (findDisplay 46) displayAddEventHandler ["KeyUp", { call [[VN_fnc_module_UI_gestureMenu_KeyHandler; }];
}}