Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
HIDDevice Class Referenceabstract
Inheritance diagram for HIDDevice:
Inheritance graph
[legend]

Public Member Functions

bool Open (io_object_t device)
 
void StartQueue (CFRunLoopRef loopRef, IOHIDCallbackFunction callback, void *target, int refCon)
 
const std::string & GetDescription () const
 
virtual void GetButtonPresses (std::vector< DeviceInput > &vPresses, IOHIDElementCookie cookie, int value, const std::chrono::time_point< std::chrono::steady_clock > &now) const =0
 
virtual int AssignIDs (InputDevice startID)
 
virtual void GetDevicesAndDescriptions (std::vector< InputDeviceInfo > &vDevices) const =0
 

Protected Member Functions

virtual bool AddLogicalDevice (int usagePage, int usage)=0
 
virtual void AddElement (int usagePage, int usage, IOHIDElementCookie cookie, const CFDictionaryRef properties)=0
 
virtual void Open ()=0
 
virtual bool InitDevice (int vid, int pid)
 
void AddElementToQueue (IOHIDElementCookie cookie)
 
IOReturn SetReport (IOHIDReportType type, UInt32 reportID, void *buffer, UInt32 size, UInt32 timeoutMS)
 

The documentation for this class was generated from the following files: