Lines Matching defs:axes
76 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons)
94 axes[i] = inb(L4_PORT);
95 if (axes[i] > 252) axes[i] = -1;
196 static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
208 axes[i] = (axes[i] < 0) ? -1 : (axes[i] * cal[i]) / t;
209 axes[i] = (axes[i] > 252) ? 252 : axes[i];