23 #include "pedigree/kernel/processor/types.h" 38 uint64_t
getBufferField(uint8_t *pBuffer,
size_t nStart,
size_t nLength);
48 HidDeviceType deviceType, uint16_t nUsagePage, uint16_t nUsage,
49 int64_t nRelativeValue);
void sendInputToManager(HidDeviceType deviceType, uint16_t nUsagePage, uint16_t nUsage, int64_t nRelativeValue)
Sends the input to the right handler in HidInputManager or InputManager.
Various utility functions used in HID.
void fixNegativeMinimum(int64_t &nMin, int64_t nMax)
Converts.
uint64_t getBufferField(uint8_t *pBuffer, size_t nStart, size_t nLength)
Retrieves a field in a buffer.
void fixNegativeValue(int64_t nMin, int64_t nMax, int64_t &nValue)
Converts.