Searched refs:iforce_hat_to_axis (Results 1 – 1 of 1) sorted by relevance
/drivers/input/joystick/iforce/ |
D | iforce-packets.c | 15 } iforce_hat_to_axis[16] = {{ 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 0}, {-1,-1}}; variable 124 input_report_abs(dev, ABS_HAT0X, iforce_hat_to_axis[data[6] >> 4].x); in iforce_report_hats_buttons() 125 input_report_abs(dev, ABS_HAT0Y, iforce_hat_to_axis[data[6] >> 4].y); in iforce_report_hats_buttons()
|