Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/imgui/examples/libs/usynergy/
DuSynergy.c365 uint8_t joy_num = message[8]; in sProcessMessage() local
366 if (joy_num<USYNERGY_NUM_JOYSTICKS) in sProcessMessage()
369 context->m_joystickButtons[joy_num] = (message[9] << 8) | message[10]; in sProcessMessage()
370 sSendJoystickCallback(context, joy_num); in sProcessMessage()
377 uint8_t joy_num = message[8]; in sProcessMessage() local
378 if (joy_num<USYNERGY_NUM_JOYSTICKS) in sProcessMessage()
381 memcpy(context->m_joystickSticks[joy_num], message+9, 4); in sProcessMessage()
382 sSendJoystickCallback(context, joy_num); in sProcessMessage()