WIIPROTO_FLAG_LED
value = wdata->state.flags & WIIPROTO_FLAG_LED(i + 1);
flag = WIIPROTO_FLAG_LED(i + 1);