MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / ProcessFeatureReport

Method ProcessFeatureReport

deps/SDL2/src/hidapi/android/hid.cpp:570–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568 }
569
570 void ProcessFeatureReport( const uint8_t *pBuf, size_t nBufSize )
571 {
572 hid_mutex_guard cvl( &m_cvLock );
573 if ( m_bIsWaitingForFeatureReport )
574 {
575 m_featureReport.assign( pBuf, nBufSize );
576
577 m_bIsWaitingForFeatureReport = false;
578 m_nFeatureReportError = 0;
579 pthread_cond_signal( &m_cv );
580 }
581 }
582
583 int GetFeatureReport( unsigned char *pData, size_t nDataLen )
584 {

Calls 1

assignMethod · 0.45

Tested by

no test coverage detected