keyboard_unset_map

Resets the keyboard mapping to its default state.

Syntax:

keyboard_get_map(key);


Returns: N/A


Description

With this function you can clear all re-mapped keys so that they return to their default state, ie: all keys to map to themselves.


Example:

if keyboard_check_pressed(vk_escape) keyboard_unset_map();

The above example code will reset all mapped keys to their default settings if the user presses the "escape" key.


Back: Keyboard Input
Next: keyboard_get_numlock
© Copyright YoYo Games Ltd. 2017 All Rights Reserved