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