Lines Matching refs:lx
1046 __s8 rx, ry, lx, ly, lt, rt; in wiimod_classic_in_ext() local
1095 lx = digital_to_analog[1 - !(ext[4] & 0x80) in wiimod_classic_in_ext()
1100 lx = (ext[0] & 0x3e) - 0x20; in wiimod_classic_in_ext()
1105 lx = digital_to_analog[1 - !(ext[4] & 0x80) in wiimod_classic_in_ext()
1110 lx = (ext[0] & 0x3f) - 0x20; in wiimod_classic_in_ext()
1129 input_report_abs(wdata->extension.input, ABS_HAT1X, lx); in wiimod_classic_in_ext()
1625 __s16 rx, ry, lx, ly; in wiimod_pro_in_ext() local
1668 lx = (ext[0] & 0xff) | ((ext[1] & 0x0f) << 8); in wiimod_pro_in_ext()
1674 lx -= 0x800; in wiimod_pro_in_ext()
1686 if (abs(lx) < 500) in wiimod_pro_in_ext()
1687 wdata->state.calib_pro_sticks[0] = -lx; in wiimod_pro_in_ext()
1697 lx += wdata->state.calib_pro_sticks[0]; in wiimod_pro_in_ext()
1702 input_report_abs(wdata->extension.input, ABS_X, lx); in wiimod_pro_in_ext()