| 24 | #include <IOKit/hid/IOHIDDevice.h> |
| 25 | |
| 26 | class ChatPadKeyboardClass : public IOHIDDevice |
| 27 | { |
| 28 | OSDeclareDefaultStructors(ChatPadKeyboardClass) |
| 29 | |
| 30 | private: |
| 31 | |
| 32 | public: |
| 33 | virtual bool start(IOService *provider); |
| 34 | |
| 35 | // IOHidDevice methods |
| 36 | virtual IOReturn newReportDescriptor(IOMemoryDescriptor **descriptor) const; |
| 37 | |
| 38 | virtual IOReturn setReport(IOMemoryDescriptor *report,IOHIDReportType reportType,IOOptionBits options=0); |
| 39 | virtual IOReturn getReport(IOMemoryDescriptor *report,IOHIDReportType reportType,IOOptionBits options); |
| 40 | |
| 41 | virtual IOReturn handleReport(IOMemoryDescriptor *report, IOHIDReportType reportType = kIOHIDReportTypeInput, IOOptionBits options = 0); |
| 42 | |
| 43 | virtual OSString* newManufacturerString() const; |
| 44 | virtual OSNumber* newPrimaryUsageNumber() const; |
| 45 | virtual OSNumber* newPrimaryUsagePageNumber() const; |
| 46 | virtual OSNumber* newProductIDNumber() const; |
| 47 | virtual OSString* newProductString() const; |
| 48 | virtual OSString* newSerialNumberString() const; |
| 49 | virtual OSString* newTransportString() const; |
| 50 | virtual OSNumber* newVendorIDNumber() const; |
| 51 | |
| 52 | virtual OSNumber* newLocationIDNumber() const; |
| 53 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected