struct s3d_but_info { unsigned char button, state; };
Can be used on the buffer of an event of type S3D_EVENT_MBUTTON.