Lines Matching refs:ry
1053 __s8 rx, ry, lx, ly, lt, rt; in wiimod_classic_in_ext() local
1109 ry = ext[2] & 0x1f; in wiimod_classic_in_ext()
1116 ry <<= 1; in wiimod_classic_in_ext()
1123 input_report_abs(wdata->extension.input, ABS_HAT2Y, ry - 0x20); in wiimod_classic_in_ext()
1613 __s16 rx, ry, lx, ly; in wiimod_pro_in_ext() local
1659 ry = (ext[6] & 0xff) | ((ext[7] & 0x0f) << 8); in wiimod_pro_in_ext()
1665 ry = 0x800 - ry; in wiimod_pro_in_ext()
1680 if (abs(ry) < 500) in wiimod_pro_in_ext()
1681 wdata->state.calib_pro_sticks[3] = -ry; in wiimod_pro_in_ext()
1688 ry += wdata->state.calib_pro_sticks[3]; in wiimod_pro_in_ext()
1693 input_report_abs(wdata->extension.input, ABS_RY, ry); in wiimod_pro_in_ext()