Searched refs:b_rsp4 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/joystick/ |
H A D | psxpad-spi.c | 208 u8 b_rsp3, b_rsp4; in psxpad_spi_poll() local 227 b_rsp4 = ~pad->response[4]; in psxpad_spi_poll() 237 input_report_key(input, BTN_X, b_rsp4 & BIT(3)); in psxpad_spi_poll() 238 input_report_key(input, BTN_A, b_rsp4 & BIT(2)); in psxpad_spi_poll() 239 input_report_key(input, BTN_B, b_rsp4 & BIT(1)); in psxpad_spi_poll() 240 input_report_key(input, BTN_Y, b_rsp4 & BIT(0)); in psxpad_spi_poll() 241 input_report_key(input, BTN_TL, b_rsp4 & BIT(5)); in psxpad_spi_poll() 242 input_report_key(input, BTN_TR, b_rsp4 & BIT(4)); in psxpad_spi_poll() 243 input_report_key(input, BTN_TL2, b_rsp4 & BIT(7)); in psxpad_spi_poll() 244 input_report_key(input, BTN_TR2, b_rsp4 in psxpad_spi_poll() [all...] |
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | psxpad-spi.c | 211 u8 b_rsp3, b_rsp4; in psxpad_spi_poll() local 230 b_rsp4 = ~pad->response[4]; in psxpad_spi_poll() 240 input_report_key(input, BTN_X, b_rsp4 & BIT(3)); in psxpad_spi_poll() 241 input_report_key(input, BTN_A, b_rsp4 & BIT(2)); in psxpad_spi_poll() 242 input_report_key(input, BTN_B, b_rsp4 & BIT(1)); in psxpad_spi_poll() 243 input_report_key(input, BTN_Y, b_rsp4 & BIT(0)); in psxpad_spi_poll() 244 input_report_key(input, BTN_TL, b_rsp4 & BIT(5)); in psxpad_spi_poll() 245 input_report_key(input, BTN_TR, b_rsp4 & BIT(4)); in psxpad_spi_poll() 246 input_report_key(input, BTN_TL2, b_rsp4 & BIT(7)); in psxpad_spi_poll() 247 input_report_key(input, BTN_TR2, b_rsp4 in psxpad_spi_poll() [all...] |
Completed in 2 milliseconds