23 #include "modules/drivers/common/hid/HidUtils.h" 24 #include "pedigree/kernel/compiler.h" 25 #include "pedigree/kernel/processor/types.h" 26 #include "pedigree/kernel/utilities/Vector.h" 27 #include "pedigree/kernel/utilities/new" 36 void parseDescriptor(uint8_t *pDescriptor,
size_t nDescriptorLength);
39 void feedInput(uint8_t *pBuffer, uint8_t *pOldBuffer,
size_t nBufferSize);
58 EndCollectionItem = 0xc,
70 ReportCountItem = 0x9,
103 int64_t nReportCount;
111 void resetLocalValues();
114 uint16_t getUsageByIndex(uint16_t nUsageIndex);
125 uint8_t *pBuffer, uint8_t *pOldBuffer,
size_t nBufferSize,
126 size_t &nBitOffset, HidDeviceType deviceType);
153 : type(CollectionChild), pCollection(pC)
157 : type(InputBlockChild), pInputBlock(pIB)
172 uint8_t *pBuffer, uint8_t *pOldBuffer,
size_t nBufferSize,
177 HidDeviceType guessInputDevice();
Collection * m_pRootCollection
The root collection, under which everything is.
Structure representing a Collection whitin a report.
ItemType
The HID item types.
Collection * pParent
Our parent.
Structure holding various global and local values for a Main item.
LocalState state
The local state of the collection.
InputItemFlags
Input item flags.
ItemTag
The HID item tags.
Vector< Child * > childs
All the childs in this collection.