DevicePad.getFeatureGroup

int getFeatureGroup(gdk.types.DevicePadFeature feature, int featureIdx)

Returns the group the given feature and idx belong to.

f the feature or index do not exist in pad, -1 is returned.

Parameters

featurethe feature type to get the group from
featureIdxthe index of the feature to get the group from

Returns

The group number of the queried pad feature.