DevicePad.getFeatureGroup

Returns the group the given feature and idx belong to.

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

interface DevicePad
int
getFeatureGroup

Parameters

feature gdk.types.DevicePadFeature

the feature type to get the group from

featureIdx int

the index of the feature to get the group from

Return Value

Type: int

The group number of the queried pad feature.