Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection CollectionItemType
func (Collection) Name ¶
func (c Collection) Name() string
func (Collection) Size ¶
func (c Collection) Size() ItemSize
func (Collection) Tag ¶
func (c Collection) Tag() ItemTag
func (Collection) Value ¶
func (c Collection) Value() CollectionItemType
type CollectionItemType ¶
type CollectionItemType byte
const ( CollectionItemTypePhysical CollectionItemType = iota CollectionItemTypeApplication CollectionItemTypeLogical CollectionItemTypeReport CollectionItemTypeNamedArray CollectionItemTypeUsageSwitch CollectionItemTypeUsageModifier )
func (CollectionItemType) String ¶
func (i CollectionItemType) String() string
type EndCollection ¶
type EndCollection struct{}
func (EndCollection) Name ¶
func (e EndCollection) Name() string
func (EndCollection) Size ¶
func (e EndCollection) Size() ItemSize
func (EndCollection) Tag ¶
func (e EndCollection) Tag() ItemTag
func (EndCollection) Value ¶
func (e EndCollection) Value() struct{}
type Feature ¶
type Feature FeatureFlags
func (Feature) Value ¶
func (f Feature) Value() FeatureFlags
type FeatureFlags ¶
type FeatureFlags uint32
const ( FeatureFlagConstant FeatureFlags = 1 << iota FeatureFlagVariable FeatureFlagRelative FeatureFlagWrap FeatureFlagNonLinear FeatureFlagNoPreferred FeatureFlagNullState FeatureFlagVolatile FeatureFlagBufferedBytes )
func (FeatureFlags) String ¶
func (i FeatureFlags) String() string
type InputFlags ¶
type InputFlags uint32
const ( InputFlagConstant InputFlags = 1 << iota InputFlagVariable InputFlagRelative InputFlagWrap InputFlagNonLinear InputFlagNoPreferred InputFlagNullState InputFlagBufferedBytes )
func (InputFlags) String ¶
func (i InputFlags) String() string
type ItemTag ¶
type ItemTag uint8
const ( ItemTagMainInput ItemTag = 0b100000 ItemTagMainOutput ItemTag = 0b100100 ItemTagMainFeature ItemTag = 0b101100 ItemTagMainCollection ItemTag = 0b101000 ItemTagMainEndCollection ItemTag = 0b110000 ItemTagGlobalUsagePage ItemTag = 0b000001 ItemTagGlobalLogicalMinimum ItemTag = 0b000101 ItemTagGlobalLogicalMaximum ItemTag = 0b001001 ItemTagGlobalPhysicalMinimum ItemTag = 0b001101 ItemTagGlobalPhysicalMaximum ItemTag = 0b010001 ItemTagGlobalUnitExponent ItemTag = 0b010101 ItemTagGlobalUnit ItemTag = 0b011001 ItemTagGlobalReportSize ItemTag = 0b011101 ItemTagGlobalReportID ItemTag = 0b100001 ItemTagGlobalReportCount ItemTag = 0b100101 ItemTagGlobalPush ItemTag = 0b101001 ItemTagGlobalPop ItemTag = 0b101101 ItemTagLocalUsage ItemTag = 0b000010 ItemTagLocalUsageMinimum ItemTag = 0b000110 ItemTagLocalUsageMaximum ItemTag = 0b001010 ItemTagLocalDesignatorIndex ItemTag = 0b001110 ItemTagLocalDesignatorMinimum ItemTag = 0b010010 ItemTagLocalDesignatorMaximum ItemTag = 0b010110 ItemTagLocalStringIndex ItemTag = 0b011110 ItemTagLocalStringMinimum ItemTag = 0b100010 ItemTagLocalStringMaximum ItemTag = 0b100110 ItemTagLocalDelimiter ItemTag = 0b101010 )
type OutputFlags ¶
type OutputFlags uint32
const ( OutputFlagConstant OutputFlags = 1 << iota OutputFlagVariable OutputFlagRelative OutputFlagWrap OutputFlagNonLinear OutputFlagNoPreferred OutputFlagNullState OutputFlagVolatile OutputFlagBufferedBytes )
func (OutputFlags) String ¶
func (i OutputFlags) String() string
Click to show internal directories.
Click to hide internal directories.