Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
System.USB.HID.Descriptor
Description
Notice that LongItem
s are not supported as none are specified on the USB Human Interface device page
Documentation
data HIDDescriptor Source
Constructors
HIDDescriptor | |
Fields
|
Instances
data HIDPhysicalDescriptor Source
Constructors
PD !HIDDesignator !HIDQualifier !HIDEffort |
Constructors
Main !HIDMainTag | |
Global !HIDGlobalTag | |
Local !HIDLocalTag |
Constructors
Long () |
data HIDMainTag Source
Constructors
Input !HIDMainData | |
Output !HIDMainData | |
Feature !HIDMainData | |
Collection !HIDCollectionData | |
EndCollection |
Instances
constructHIDMainD :: [Int] -> HIDMainData Source
Constructors
PreferredState | |
NoPreferred |
Constructors
NoNullPosition | |
NullState |
Constructors
BitField | |
BufferedBytes |
data HIDCollectionData Source
Constructors
Physical | |
Application | |
Logical | |
Report | |
NamedArray | |
UsageSwitch | |
UsageModifier |
data HIDGlobalTag Source
Constructors
UsagePage !HIDUsagePage | |
LogicalMinimum !Int | |
LogicalMaximum !Int | |
PhysicalMinimum !Int | |
PhysicalMaximum !Int | |
UnitExponent !Int | |
Unit !Int | |
ReportSize !Int | |
ReportID !Int | |
ReportCount !Int | |
Push !Int | |
Pop !Int |
Instances
data HIDLocalTag Source
Constructors
Instances
data HIDDelimeter Source
Instances
newtype HIDUsagePage Source
Instances
data HIDDesignator Source
Constructors
Instances
data HIDQualifier Source
Instances
Constructors
BNotApplicable | |
RightHand | |
LeftHand | |
BothHands | |
EitherHand |
data HIDPhysDescSet Source
Constructors
PDS !HIDBias !HIDPreference ![HIDPhysicalDescriptor] |
Instances
type HIDPreference = Int Source