C.37. $world->getkeycode

$keycode = $world->getkeycode(void);

After running this function, press a key (or a combination of keys). The keycode (to be used in the $world->macro function) will be returned and also printed in the screen.