Lines Matching refs:axes

547     void mapAxesValues( Glib::ustring const& key, gdouble const * axes, GdkDevice* dev);
776 lbl = Gtk::manage(new Gtk::Label(_("Actual axes count:")));
1713 // if ( (dev->axes[i].max - dev->axes[i].min) > epsilon ) {
1715 // axesValues[i].set_fraction( (axesMap[key][i].second- dev->axes[i].min) / (dev->axes[i].max - dev->axes[i].min) );
1732 // if ( (dev->axes[i].max - dev->axes[i].min) > epsilon ) {
1734 // axesValues[i].set_fraction( (axesMap[key][i].second- dev->axes[i].min) / (dev->axes[i].max - dev->axes[i].min) );
1756 void InputDialogImpl::mapAxesValues( Glib::ustring const& key, gdouble const * axes, GdkDevice* dev )
1761 if ( (numAxes > 0) && axes) {
1764 gdouble diff = axesMap[key][axisNum].second - axes[axisNum];
1769 axesMap[key][axisNum].second = axes[axisNum];
1777 axesMap[key][axisNum].second = axes[axisNum];
1787 axesMap[key][axisNum].second = axes[axisNum];
1795 axesMap[key][axisNum].second = axes[axisNum];
1865 mapAxesValues(key, btnEvt->axes, btnEvt->device);
1894 mapAxesValues(key, btnMtn->axes, btnMtn->device);
1901 // ((btnMtn->device && btnMtn->axes && (btnMtn->device->num_axes > 0)) ? btnMtn->axes[0]:0),
1902 // ((btnMtn->device && btnMtn->axes && (btnMtn->device->num_axes > 1)) ? btnMtn->axes[1]:0),
1903 // ((btnMtn->device && btnMtn->axes && (btnMtn->device->num_axes > 2)) ? btnMtn->axes[2]:0),
1904 // ((btnMtn->device && btnMtn->axes && (btnMtn->device->num_axes > 3)) ? btnMtn->axes[3]:0),
1905 // ((btnMtn->device && btnMtn->axes && (btnMtn->device->num_axes > 4)) ? btnMtn->axes[4]:0),
1906 // ((btnMtn->device && btnMtn->axes && (btnMtn->device->num_axes > 5)) ? btnMtn->axes[5]:0)