Lines Matching refs:ry
1046 __s8 rx, ry, lx, ly, lt, rt; in wiimod_classic_in_ext() local
1102 ry = ext[2] & 0x1f; in wiimod_classic_in_ext()
1109 ry <<= 1; in wiimod_classic_in_ext()
1116 input_report_abs(wdata->extension.input, ABS_HAT2Y, ry - 0x20); in wiimod_classic_in_ext()
1606 __s16 rx, ry, lx, ly; in wiimod_pro_in_ext() local
1652 ry = (ext[6] & 0xff) | ((ext[7] & 0x0f) << 8); in wiimod_pro_in_ext()
1658 ry = 0x800 - ry; in wiimod_pro_in_ext()
1673 if (abs(ry) < 500) in wiimod_pro_in_ext()
1674 wdata->state.calib_pro_sticks[3] = -ry; in wiimod_pro_in_ext()
1681 ry += wdata->state.calib_pro_sticks[3]; in wiimod_pro_in_ext()
1686 input_report_abs(wdata->extension.input, ABS_RY, ry); in wiimod_pro_in_ext()