Searched refs:hat_switch_map (Results 1 – 1 of 1) sorted by relevance
87 static const struct { int32_t x; int32_t y; } hat_switch_map[] = { in hgame_hat_switch_cb() local102 idx = MIN(nitems(hat_switch_map) - 1, (u_int)ctx.data); in hgame_hat_switch_cb()103 evdev_push_abs(evdev, ABS_HAT0X, hat_switch_map[idx].x); in hgame_hat_switch_cb()104 evdev_push_abs(evdev, ABS_HAT0Y, hat_switch_map[idx].y); in hgame_hat_switch_cb()