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

Public Member Functions

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

Protected Member Functions

bool AddLogicalDevice (int usagePage, int usage)
 
void AddElement (int usagePage, int usage, IOHIDElementCookie cookie, const CFDictionaryRef properties)
 
void Open ()
 
bool InitDevice (int vid, int pid)
 
- Protected Member Functions inherited from HIDDevice
void AddElementToQueue (IOHIDElementCookie cookie)
 
IOReturn SetReport (IOHIDReportType type, UInt32 reportID, void *buffer, UInt32 size, UInt32 timeoutMS)
 

Member Function Documentation

◆ AddElement()

void PumpDevice::AddElement ( int  usagePage,
int  usage,
IOHIDElementCookie  cookie,
const CFDictionaryRef  properties 
)
inlineprotectedvirtual

Implements HIDDevice.

◆ AddLogicalDevice()

bool PumpDevice::AddLogicalDevice ( int  usagePage,
int  usage 
)
inlineprotectedvirtual

Implements HIDDevice.

◆ AssignIDs()

int PumpDevice::AssignIDs ( InputDevice  startID)
virtual

Reimplemented from HIDDevice.

◆ GetButtonPresses()

void PumpDevice::GetButtonPresses ( std::vector< DeviceInput > &  vPresses,
IOHIDElementCookie  cookie,
int  value,
const std::chrono::time_point< std::chrono::steady_clock > &  now 
) const
virtual

Implements HIDDevice.

◆ GetDevicesAndDescriptions()

void PumpDevice::GetDevicesAndDescriptions ( std::vector< InputDeviceInfo > &  vDevices) const
virtual

Implements HIDDevice.

◆ InitDevice()

bool PumpDevice::InitDevice ( int  vid,
int  pid 
)
inlineprotectedvirtual

Reimplemented from HIDDevice.

◆ Open()

void PumpDevice::Open ( )
protectedvirtual

Implements HIDDevice.


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