Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_switch.c209 SDL_bool m_bUsingBluetooth; member
384 …const size_t unWriteSize = ctx->m_bUsingBluetooth ? k_unSwitchBluetoothPacketLength : k_unSwitchUS… in WritePacket()
742 ctx->m_bUsingBluetooth = SDL_TRUE; in HIDAPI_DriverSwitch_OpenJoystick()
746 if (ctx->m_bUsingBluetooth) { in HIDAPI_DriverSwitch_OpenJoystick()
779 if (!ctx->m_bUsingBluetooth) { in HIDAPI_DriverSwitch_OpenJoystick()
899 …if (ctx->m_bUsingBluetooth && (SDL_GetTicks() - ctx->m_unRumbleSent) < RUMBLE_WRITE_FREQUENCY_MS) { in HIDAPI_DriverSwitch_RumbleJoystick()

Completed in 7 milliseconds