Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_ps4.c62 Uint8 rgucButtonsHatAndCounter[ 3 ]; member
359 if (ctx->last_state.rgucButtonsHatAndCounter[0] != packet->rgucButtonsHatAndCounter[0]) { in HIDAPI_DriverPS4_HandleStatePacket()
361 Uint8 data = (packet->rgucButtonsHatAndCounter[0] >> 4); in HIDAPI_DriverPS4_HandleStatePacket()
369 Uint8 data = (packet->rgucButtonsHatAndCounter[0] & 0x0F); in HIDAPI_DriverPS4_HandleStatePacket()
414 if (ctx->last_state.rgucButtonsHatAndCounter[1] != packet->rgucButtonsHatAndCounter[1]) { in HIDAPI_DriverPS4_HandleStatePacket()
415 Uint8 data = packet->rgucButtonsHatAndCounter[1]; in HIDAPI_DriverPS4_HandleStatePacket()
428 if ((packet->rgucButtonsHatAndCounter[1] & 0x0C) != 0) { in HIDAPI_DriverPS4_HandleStatePacket()
429 Uint8 data = packet->rgucButtonsHatAndCounter[1]; in HIDAPI_DriverPS4_HandleStatePacket()
434 if (ctx->last_state.rgucButtonsHatAndCounter[2] != packet->rgucButtonsHatAndCounter[2]) { in HIDAPI_DriverPS4_HandleStatePacket()
435 Uint8 data = (packet->rgucButtonsHatAndCounter[2] & 0x03); in HIDAPI_DriverPS4_HandleStatePacket()

Completed in 5 milliseconds