Lines Matching refs:axes
57 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons)
75 axes[i] = inb(L4_PORT);
76 if (axes[i] > 252) axes[i] = -1;
177 static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
189 axes[i] = (axes[i] < 0) ? -1 : (axes[i] * cal[i]) / t;
190 axes[i] = (axes[i] > 252) ? 252 : axes[i];