wiimote_getYaw() function always return 0

Why wiimote_getYaw() function always return 0

What I need is to connect the ir sensor bar. I will try