keyboard_key_press(key)

From ENIGMA

Revision as of 04:01, 2 September 2013 by Josh @ Dreamland (Talk | contribs)
Jump to: navigation, search

Description

Simulates a key press of the given key. Note: This function may be unimplemented on some platforms.


Parameters

Parameter Description
key The keyboard constant of the key to simulate.

Return Values

void: This function does not return anything.

Example Call

// Simulates key strokes to type the word "Code"
keyboard_key_press(vk_shift);
keyboard_key_press(ord('C'));
keyboard_key_release(vk_shift);
keyboard_key_press(ord('O'));
keyboard_key_press(ord('D'));
keyboard_key_press(ord('E'));
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox