Home
last modified time | relevance | path

Searched refs:expectedID (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_switch.c317 …dInputPacket_t *ReadSubcommandReply(SDL_DriverSwitch_Context *ctx, ESwitchSubcommandIDs expectedID) in ReadSubcommandReply() argument
328 if (reply->ucSubcommandID == expectedID && (reply->ucSubcommandAck & 0x80)) { in ReadSubcommandReply()
343 …L_bool ReadProprietaryReply(SDL_DriverSwitch_Context *ctx, ESwitchProprietaryCommandIDs expectedID) in ReadProprietaryReply() argument
352 …gucReadBuffer[0] == k_eSwitchInputReportIDs_CommandAck && ctx->m_rgucReadBuffer[1] == expectedID) { in ReadProprietaryReply()

Completed in 7 milliseconds