Lines Matching refs:axes
60 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons)
78 axes[i] = inb(L4_PORT);
79 if (axes[i] > 252) axes[i] = -1;
180 static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
192 axes[i] = (axes[i] < 0) ? -1 : (axes[i] * cal[i]) / t;
193 axes[i] = (axes[i] > 252) ? 252 : axes[i];