GPC Developer Guides
...
Functions
Keyboard Functions
Core Keyboard Functions
Function | Description |
---|---|
get_keyboard | Checks if a chosen keyboard key is held down |
get_modifiers | Checks if a chosen keyboard modifier is held down (ALT, SHIFT, CTRL, etc.) |
get_keyboard checks to see if a chosen keyboard key is pressed
🔴 Syntax
get_keyboard( <key_constant> );
⚪ Parameters
<key_constant> : any defined keyboard constant.
🔵 Returns
Nothing
get_modifiers Checks if a chosen keyboard modifier is held down (ALT, SHIFT, CTRL, etc.)
🔴 Syntax
get_modifiers( <variable> , <bit_index> );
⚪ Parameters
<variable> : any defined variable. <bit_index> : index point of the bit to IF held
🔵 Returns
Nothing