CTL_STATUS_t wii_classic_sample(CTL_I2C_BUS_t *bus, WII_CLASSIC_REPORT_t *report);
wii_classic_sample samples the joysticks, triggers, and the buttons on the Classic Controller attached to bus bus and writes the result to the structure pointed to by report. All data are returned as raw values directly from the received report.
wii_classic_sample returns a standard status code. If the status indicates an error, the returned sample data is undefined.
wii_classic_sample is thread-safe if a mutex is associated with the I2C bus bus.