Searched refs:last_state (Results 1 – 10 of 10) sorted by relevance
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidmouse.c | 53 static int last_state; variable 194 last_state = 0; in Android_InitMouse() 234 changes = state & ~last_state; in Android_OnMouse() 236 last_state = state; in Android_OnMouse() 242 changes = last_state & ~state; in Android_OnMouse() 244 last_state = state; in Android_OnMouse()
|
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/ |
A D | SDL_hidapi_xboxone.c | 126 Uint8 last_state[USB_PACKET_LENGTH]; member 372 if (ctx->last_state[4] != data[4]) { in HIDAPI_DriverXboxOne_HandleStatePacket() 381 if (ctx->last_state[5] != data[5]) { in HIDAPI_DriverXboxOne_HandleStatePacket() 486 SDL_memcpy(ctx->last_state, data, SDL_min(size, sizeof(ctx->last_state))); in HIDAPI_DriverXboxOne_HandleStatePacket() 507 if (ctx->last_state[14] != data[14]) { in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1() 518 if (ctx->last_state[15] != data[15]) { in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1() 523 if (ctx->last_state[13] != data[13]) { in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1() 588 SDL_memcpy(ctx->last_state, data, SDL_min(size, sizeof(ctx->last_state))); in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV1() 596 if (ctx->last_state[14] != data[14]) { in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV2() 605 if (ctx->last_state[15] != data[15]) { in HIDAPI_DriverXboxOneBluetooth_HandleStatePacketV2() [all …]
|
A D | SDL_hidapi_xbox360w.c | 40 Uint8 last_state[USB_PACKET_LENGTH]; member 136 SDL_zeroa(ctx->last_state); in HIDAPI_DriverXbox360W_OpenJoystick() 166 if (ctx->last_state[2] != data[2]) { in HIDAPI_DriverXbox360W_HandleStatePacket() 177 if (ctx->last_state[3] != data[3]) { in HIDAPI_DriverXbox360W_HandleStatePacket() 206 SDL_memcpy(ctx->last_state, data, SDL_min(size, sizeof(ctx->last_state))); in HIDAPI_DriverXbox360W_HandleStatePacket()
|
A D | SDL_hidapi_xbox360.c | 60 Uint8 last_state[USB_PACKET_LENGTH]; member 819 if (ctx->last_state[10] != data[10]) { in HIDAPI_DriverXbox360_HandleStatePacket() 830 if (ctx->last_state[11] != data[11]) { in HIDAPI_DriverXbox360_HandleStatePacket() 924 SDL_memcpy(ctx->last_state, data, SDL_min(size, sizeof(ctx->last_state))); in HIDAPI_DriverXbox360_HandleStatePacket() 948 if (ctx->last_state[2] != data[2]) { in HIDAPI_DriverXbox360_HandleStatePacket() 959 if (ctx->last_state[3] != data[3]) { in HIDAPI_DriverXbox360_HandleStatePacket() 988 SDL_memcpy(ctx->last_state, data, SDL_min(size, sizeof(ctx->last_state))); in HIDAPI_DriverXbox360_HandleStatePacket() 1054 …API_DriverXbox360_HandleStatePacket(joystick, NULL, ctx, ctx->last_state, sizeof(ctx->last_state)); in HIDAPI_DriverXbox360_UpdateOtherAPIs() 1090 …API_DriverXbox360_HandleStatePacket(joystick, NULL, ctx, ctx->last_state, sizeof(ctx->last_state)); in HIDAPI_DriverXbox360_UpdateOtherAPIs() 1149 …API_DriverXbox360_HandleStatePacket(joystick, NULL, ctx, ctx->last_state, sizeof(ctx->last_state)); in HIDAPI_DriverXbox360_UpdateOtherAPIs() [all …]
|
A D | SDL_hidapi_ps4.c | 105 PS4StatePacket_t last_state; member 359 if (ctx->last_state.rgucButtonsHatAndCounter[0] != packet->rgucButtonsHatAndCounter[0]) { in HIDAPI_DriverPS4_HandleStatePacket() 414 if (ctx->last_state.rgucButtonsHatAndCounter[1] != packet->rgucButtonsHatAndCounter[1]) { in HIDAPI_DriverPS4_HandleStatePacket() 434 if (ctx->last_state.rgucButtonsHatAndCounter[2] != packet->rgucButtonsHatAndCounter[2]) { in HIDAPI_DriverPS4_HandleStatePacket() 470 SDL_memcpy(&ctx->last_state, packet, sizeof(ctx->last_state)); in HIDAPI_DriverPS4_HandleStatePacket()
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | moduwebsocket.c | 185 byte last_state; in websocket_read() local 187 last_state = self->state; in websocket_read() 194 if (last_state == CONTROL) { in websocket_read()
|
/AliOS-Things-master/components/littlevgl/src/lv_core/ |
A D | lv_indev.c | 372 i->proc.types.keypad.last_state = LV_INDEV_STATE_REL; /*To skip the processing of release*/ in indev_keypad_proc() 391 uint32_t prev_state = i->proc.types.keypad.last_state; in indev_keypad_proc() 392 i->proc.types.keypad.last_state = data->state; in indev_keypad_proc() 521 i->proc.types.keypad.last_state = LV_INDEV_STATE_REL; /*To skip the processing of release*/ in indev_encoder_proc() 526 lv_indev_state_t last_state = i->proc.types.keypad.last_state; in indev_encoder_proc() local 527 i->proc.types.keypad.last_state = data->state; in indev_encoder_proc() 563 if(data->state == LV_INDEV_STATE_PR && last_state == LV_INDEV_STATE_REL) { in indev_encoder_proc() 577 else if(data->state == LV_INDEV_STATE_PR && last_state == LV_INDEV_STATE_PR) { in indev_encoder_proc() 600 else if(data->state == LV_INDEV_STATE_REL && last_state == LV_INDEV_STATE_PR) { in indev_encoder_proc()
|
/AliOS-Things-master/components/littlevgl/src/lv_hal/ |
A D | lv_hal_indev.h | 133 lv_indev_state_t last_state; member
|
/AliOS-Things-master/components/amp/jslib/src/ |
A D | repl.js | 1359 function last_state(c) { return state.substring(state.length - 1); } function 1361 var c = last_state(); 1423 if (last_state() == '[') { 1556 if (level > 0 && is_balanced(last_state(), c)) {
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | repl.js | 1338 function last_state(c) { return state.substring(state.length - 1); } function 1340 var c = last_state(); 1402 if (last_state() == '[') { 1535 if (level > 0 && is_balanced(last_state(), c)) {
|
Completed in 30 milliseconds