| Updated: October 28, 2024 |
Register a callback when the specified button event is generated
#include <qvm/guest.h>
void guest_button_register(vdev_t *vdp,
unsigned buttons)
When the event is generated, the vdev control function will be called with the VDEV_CTRL_BUTTON command (see Definitions in vdev-core.h).