VgaGames 3 - System-menu man-pages

[.. upper level ..]

VG3_sysmenu_simple_keyboardentry()

Insert a keyboard-entry into the keyboard-menu of the system-menu.
SYNTAX
void VG3_sysmenu_simple_keyboardentry(struct vg3_sysmenu *sysm, struct vg3_sysmenu_submenu *submenu, int kbref, const char *kbname, int kbidx, const char *info)

FUNCTION PARAMETERS
sysm System-menu-struct
submenu Where to put it: sub-menu or NULL = main menu
kbref Arbitrary reference number for this entry, e.g. specifying its action
kbname Description for the key
kbidx Key: one of the values of VGAG3_KEYS
info Short description text for menu-window for this keyboard-entry
or NULL = no text

DESCRIPTION
Insert a keyboard-entry into the keyboard-menu of the system-menu. The entry is inserted into the sub-menu submenu, which should be the keyboard sub-menu. This gives the possibility to redefine the key. This function has to be called for each key which could be redefined.

SEE ALSO
VG3_sysmenu_simple_keyboardmenu() VG3_sysmenu_getkeyval()