WIIPROTO_FLAGS_IR
__u8 ir = wdata->state.flags & WIIPROTO_FLAGS_IR;
if (!(wdata->state.flags & WIIPROTO_FLAGS_IR))
if (mode == (wdata->state.flags & WIIPROTO_FLAGS_IR)) {
wdata->state.flags &= ~WIIPROTO_FLAGS_IR;
wdata->state.flags &= ~WIIPROTO_FLAGS_IR;
wdata->state.flags |= mode & WIIPROTO_FLAGS_IR;