----------------------------------------------------------------------------- Read bytes from the specified HID feature report -----------------------------------------------------------------------------
| 505 | // Read bytes from the specified HID feature report |
| 506 | //----------------------------------------------------------------------------- |
| 507 | int HidController::GetFeatureReport |
| 508 | ( |
| 509 | uint32 _length, |
| 510 | uint8 _reportId, |
| 511 | uint8* _buffer |
| 512 | ) |
| 513 | { |
| 514 | int result; |
| 515 | _buffer[0] = _reportId; |
| 516 | result = hid_get_feature_report(m_hHidController, _buffer, _length); |
| 517 | if (result < 0) |
| 518 | { |
| 519 | Log::Write( LogLevel_Info, "Error: HID GetFeatureReport on ID 0x%hx returned (0x%.8x)", _reportId, result ); |
| 520 | } |
| 521 | return result; |
| 522 | } |
| 523 | |
| 524 | //----------------------------------------------------------------------------- |
| 525 | // <HidController::SendFeatureReport> |
nothing calls this directly
no test coverage detected