Lines Matching refs:labels
1048 InitAxesLabels(Atom *labels, int nlabels, const SynapticsPrivate * priv)
1052 memset(labels, 0, nlabels * sizeof(Atom));
1056 labels[3] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_VSCROLL);
1058 labels[2] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_HSCROLL);
1060 labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_Y);
1062 labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_X);
1070 labels[axnum] = XIGetKnownProperty(axis->label);
1075 InitButtonLabels(Atom *labels, int nlabels)
1077 memset(labels, 0, nlabels * sizeof(Atom));
1081 labels[6] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_HWHEEL_RIGHT);
1083 labels[5] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_HWHEEL_LEFT);
1085 labels[4] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_WHEEL_DOWN);
1087 labels[3] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_WHEEL_UP);
1089 labels[2] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_RIGHT);
1091 labels[1] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_MIDDLE);
1093 labels[0] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_LEFT);
1170 xf86IDrvMsg(pInfo, X_ERROR, "failed to allocate axis labels\n");