Searched refs:joy_num (Results 1 – 1 of 1) sorted by relevance
365 uint8_t joy_num = message[8]; in sProcessMessage() local366 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() local378 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()