Home
last modified time | relevance | path

Searched refs:iforce_hat_to_axis (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/joystick/iforce/
H A Diforce-packets.c15 } 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()