Searched refs:tmdc_hat_to_axis (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/input/joystick/
H A Dtmdc.c90 } tmdc_hat_to_axis[] = {{ 0, 0}, { 1, 0}, { 0,-1}, {-1, 0}, { 0, 1}}; variable in typeref:struct:__anon5083
217 input_report_abs(port->dev, ABS_HAT0X, tmdc_hat_to_axis[(data[i] - 141) / 25].x); tmdc_parse_packet()
218 input_report_abs(port->dev, ABS_HAT0Y, tmdc_hat_to_axis[(data[i] - 141) / 25].y); tmdc_parse_packet()

Completed in 78 milliseconds