Difference between revisions of "Lua:doKeyPress"
Jump to navigation
Jump to search
(Created page with ''''function''' doKeyPress(''key'') Simulates a keypress (up/down) Tip: To differentiate between highercase and lowercase set the shift key down or up depending on what you wish…') |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Lua]] | ||
'''function''' doKeyPress(''key'') | '''function''' doKeyPress(''key'') | ||
Line 17: | Line 18: | ||
− | + | {{LuaSeeAlso}} | |
− | |||
− | |||
* [[Virtual-Key Code]] | * [[Virtual-Key Code]] | ||
− | * [[Lua]] | + | |
+ | === Related Functions === | ||
+ | * [[Lua:keyUp|keyUp]] | ||
+ | * [[Lua:keyDown|keyDown]] |
Latest revision as of 00:52, 25 January 2018
function doKeyPress(key)
Simulates a keypress (up/down)
Tip: To differentiate between highercase and lowercase set the shift key down or up depending on what you wish
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
key | Virtual-Key Code | The keycode for the key to emulated |