Difference between revisions of "Lua:doKeyPress"

From Cheat Engine
Jump to navigation Jump to search
Line 18: Line 18:
  
  
== See also ==
+
{{LuaSeeAlso}}
 +
 
 +
=== Related Functions ===
 
* [[keyUp]]
 
* [[keyUp]]
 
* [[keyDown]]
 
* [[keyDown]]
 
* [[Virtual-Key Code]]
 
* [[Virtual-Key Code]]
* [[Lua]]
 

Revision as of 21:40, 19 March 2017

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

Parameter Type Description
key Virtual-Key Code The keycode for the key to emulated


See also

Related Functions