Searched refs:analog_pads (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/input/joystick/ |
D | analog.c | 89 static short analog_pads[] = { BTN_Y, BTN_Z, BTN_TL, BTN_TR }; variable 207 input_report_key(dev, analog_pads[0], axes[2] < (initial[2] >> 1)); in analog_decode() 209 input_report_key(dev, analog_pads[1], axes[3] < (initial[3] >> 1)); in analog_decode() 211 input_report_key(dev, analog_pads[2], axes[2] > (initial[2] + (initial[2] >> 1))); in analog_decode() 213 input_report_key(dev, analog_pads[3], axes[3] > (initial[3] + (initial[3] >> 1))); in analog_decode() 520 set_bit(analog_pads[i], input_dev->keybit); in analog_init_device()
|