DevicePad.getFeatureGroup

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

Returns the group the given feature and idx belong to, or -1 if feature/index do not exist in pad.

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.