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

/linux-4.1.27/drivers/input/joystick/
H A Dsidewinder.c112 } sw_hat_to_axis[] = {{ 0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 0}, {-1,-1}}; variable in typeref:struct:__anon5082
320 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); sw_parse()
321 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); sw_parse()
363 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); sw_parse()
364 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); sw_parse()
383 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); sw_parse()
384 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); sw_parse()

Completed in 36 milliseconds