Lines Matching refs:axnum
2345 * this function merely inits the matching axis (specified through axnum) to
2353 InitValuatorAxisStruct(DeviceIntPtr dev, int axnum, Atom label, int minval,
2361 BUG_RETURN_VAL(axnum >= dev->valuator->numAxes, FALSE);
2364 ax = dev->valuator->axes + axnum;
2377 return SetScrollValuator(dev, axnum, SCROLL_TYPE_NONE, 0, SCROLL_FLAG_NONE);
2384 SetScrollValuator(DeviceIntPtr dev, int axnum, enum ScrollType type,
2394 BUG_RETURN_VAL(axnum >= dev->valuator->numAxes, FALSE);
2404 ax = &dev->valuator->axes[axnum];
2414 if (*current_ax != -1 && axnum != *current_ax) {
2421 *current_ax = axnum;
2423 ax = &dev->valuator->axes[axnum];