VN fnc module UI gestureMenu KeyHandler

From Savage Game Design Wiki
Revision as of 20:16, 26 February 2021 by Lou Montana (talk | contribs) (Text replacement - "call VN_" to "call [[VN_")
Jump to navigation Jump to search

{{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; }]; }}