NAME ==== vg_key_update() - get input from key and mouse SYNOPSIS ======== int vg_key_update(void) DESCRIPTION =========== Reads in all keystrokes and mouse-events, which then can be checked with vg_key_pressed() and vg_mouse_pressed(). If using network, this function also sends keystrokes of a client and receives new data. Then a return value of -1 indicates that the network was closed. RETURN VALUE ============ Normally it returns 0. Only if network is used, a return value of -1 indicates that the network was closed. SEE ALSO ======== Index Understanding window and key vg_key_discard() vg_key_pressed() vg_mouse_found() vg_mouse_x() vg_mouse_y() vg_mouse_pressed() vg_mouse_speed()