Lines Matching refs:ly
1046 __s8 rx, ry, lx, ly, lt, rt; in wiimod_classic_in_ext() local
1097 ly = digital_to_analog[1 - !(ext[4] & 0x40) in wiimod_classic_in_ext()
1101 ly = (ext[1] & 0x3e) - 0x20; in wiimod_classic_in_ext()
1107 ly = digital_to_analog[1 - !(ext[4] & 0x40) in wiimod_classic_in_ext()
1111 ly = (ext[1] & 0x3f) - 0x20; in wiimod_classic_in_ext()
1130 input_report_abs(wdata->extension.input, ABS_HAT1Y, ly); in wiimod_classic_in_ext()
1625 __s16 rx, ry, lx, ly; in wiimod_pro_in_ext() local
1670 ly = (ext[4] & 0xff) | ((ext[5] & 0x0f) << 8); in wiimod_pro_in_ext()
1675 ly = 0x800 - ly; in wiimod_pro_in_ext()
1688 if (abs(ly) < 500) in wiimod_pro_in_ext()
1689 wdata->state.calib_pro_sticks[1] = -ly; in wiimod_pro_in_ext()
1698 ly += wdata->state.calib_pro_sticks[1]; in wiimod_pro_in_ext()
1703 input_report_abs(wdata->extension.input, ABS_Y, ly); in wiimod_pro_in_ext()