Searched refs:axis_map (Results 1 – 1 of 1) sorted by relevance
/drivers/input/joystick/ |
D | grip_mp.c | 111 static const int axis_map[] = { 5, 9, 1, 5, 6, 10, 2, 6, 4, 8, 0, 4, 5, 9, 1, 5 }; variable 413 port->yaxes = ((axis_map[dir] >> 2) & 3) - 1; in get_and_decode_packet() 414 port->xaxes = (axis_map[dir] & 3) - 1; in get_and_decode_packet()
|