DOKK / manpages / debian 12 / s3d-doc / s3d_but_info.9.en
S3D_BUT_INFO(9) s3d Manual S3D_BUT_INFO(9)

s3d_but_info - status of a button

#include <s3d.h>

struct s3d_but_info {
	uint8_t button;
	uint8_t state;
}

Can be used on the buffer of an event of type S3D_EVENT_MBUTTON.

Simon Wunderlich

Author of s3d
s3d