19 #include <pointing/utils/URI.h>
21 #include <IOKit/hid/IOHIDDevice.h>
22 #include <IOKit/hid/IOHIDValue.h>
23 #include <IOKit/usb/IOUSBLib.h>
30 int32_t hidDeviceGetIntProperty(IOHIDDeviceRef device, CFStringRef prop, int32_t defval=0) ;
32 std::string hidDeviceGetStringProperty(IOHIDDeviceRef device, CFStringRef prop, std::string defval=
"") ;
34 URI hidDeviceURI(IOHIDDeviceRef device) ;
36 std::string hidDeviceName(IOHIDDeviceRef device);
38 void hidDebugDevice(IOHIDDeviceRef device, std::ostream& out) ;
40 void hidDebugValue(IOHIDValueRef hidvalue, std::ostream& out) ;
42 io_service_t hidGetParentService(IOHIDDeviceRef device, io_name_t classname) ;
43 io_service_t hidGetParentService(io_service_t service, io_name_t classname) ;
46 SInt32 hidGetPointingResolution(IOHIDDeviceRef device) ;
47 SInt32 hidGetPointingResolution(io_service_t service) ;
50 double hidGetReportInterval(IOHIDDeviceRef device) ;
52 IOUSBInterfaceInterface190 **getUSBInterface(io_service_t hiddriver,
int usbclass,
int usbsubclass,
int endpoints) ;
54 std::string hidDeviceFromVendorProductUsagePageUsage(
int vendorID,
int productID,
55 int primaryUsagePage,
int primaryUsage) ;
56 std::string hidAnyPointingDevice(
void) ;
57 std::string hidXYElements(
void) ;
59 uint64_t AbsoluteTimeInNanoseconds(uint64_t tAbs) ;
Definition: DummyPointingDevice.cpp:23