|
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 |
|
bool | Open (io_object_t device) |
|
void | StartQueue (CFRunLoopRef loopRef, IOHIDCallbackFunction callback, void *target, int refCon) |
|
const std::string & | GetDescription () const |
|
|
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) |
|
void | AddElementToQueue (IOHIDElementCookie cookie) |
|
IOReturn | SetReport (IOHIDReportType type, UInt32 reportID, void *buffer, UInt32 size, UInt32 timeoutMS) |
|
◆ AddElement()
void PumpDevice::AddElement |
( |
int |
usagePage, |
|
|
int |
usage, |
|
|
IOHIDElementCookie |
cookie, |
|
|
const CFDictionaryRef |
properties |
|
) |
| |
|
inlineprotectedvirtual |
◆ AddLogicalDevice()
bool PumpDevice::AddLogicalDevice |
( |
int |
usagePage, |
|
|
int |
usage |
|
) |
| |
|
inlineprotectedvirtual |
◆ AssignIDs()
int PumpDevice::AssignIDs |
( |
InputDevice |
startID | ) |
|
|
virtual |
◆ GetButtonPresses()
void PumpDevice::GetButtonPresses |
( |
std::vector< DeviceInput > & |
vPresses, |
|
|
IOHIDElementCookie |
cookie, |
|
|
int |
value, |
|
|
const std::chrono::time_point< std::chrono::steady_clock > & |
now |
|
) |
| const |
|
virtual |
◆ GetDevicesAndDescriptions()
void PumpDevice::GetDevicesAndDescriptions |
( |
std::vector< InputDeviceInfo > & |
vDevices | ) |
const |
|
virtual |
◆ InitDevice()
bool PumpDevice::InitDevice |
( |
int |
vid, |
|
|
int |
pid |
|
) |
| |
|
inlineprotectedvirtual |
◆ Open()
void PumpDevice::Open |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files:
- /home/runner/work/etterna/etterna/src/archutils/Darwin/PumpDevice.h
- /home/runner/work/etterna/etterna/src/archutils/Darwin/PumpDevice.cpp