Lines Matching defs:axes
79 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons)
97 axes[i] = inb(L4_PORT);
98 if (axes[i] > 252) axes[i] = -1;
199 static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
211 axes[i] = (axes[i] < 0) ? -1 : (axes[i] * cal[i]) / t;
212 axes[i] = (axes[i] > 252) ? 252 : axes[i];