VG3_nw_changekey()Replace a network-key with another key.
void VG3_nw_changekey(struct vg3_nwclient *nwclnt, int jid, int keyidx, int keynew)
|jid||Joystick-ID or 0 = keyboard|
|keyidx||Previous key, button or axis|
|keynew||New key, button or axis:|
- for keyboard: one of the values of VGAG3_KEYS
- for gamecontroller: one of the values of VGAG3_GCS
- for joystick: joystick-input-keynumber (starting from 1)
Replace a network-key with another key. This function is useful if a player changes during the game a key of a specific action, which could be done via the system-menu. The network structure still keeps the old key, which has to be replaced with this function.