Lines Matching full:key

414     /*Save the last key to compare it with the current latter on RELEASE*/  in indev_keypad_proc()
417 /*Save the last key. in indev_keypad_proc()
418 *It must be done here else `lv_indev_get_key` will return the last key in events*/ in indev_keypad_proc()
419 i->proc.types.keypad.last_key = data->key; in indev_keypad_proc()
427 /*Key press happened*/ in indev_keypad_proc()
429 LV_LOG_INFO("%" LV_PRIu32 " key is pressed", data->key); in indev_keypad_proc()
433 if(data->key == LV_KEY_NEXT) { in indev_keypad_proc()
439 else if(data->key == LV_KEY_PREV) { in indev_keypad_proc()
446 if(data->key == LV_KEY_ENTER) { in indev_keypad_proc()
447 /*Send the ENTER as a normal KEY*/ in indev_keypad_proc()
454 else if(data->key == LV_KEY_ESC) { in indev_keypad_proc()
455 /*Send the ESC as a normal KEY*/ in indev_keypad_proc()
464 lv_group_send_data(g, data->key); in indev_keypad_proc()
472 if(data->key == LV_KEY_ENTER) { in indev_keypad_proc()
480 if(data->key == LV_KEY_ENTER) { in indev_keypad_proc()
493 if(data->key == LV_KEY_ENTER) { in indev_keypad_proc()
498 else if(data->key == LV_KEY_NEXT) { in indev_keypad_proc()
504 else if(data->key == LV_KEY_PREV) { in indev_keypad_proc()
511 lv_group_send_data(g, data->key); in indev_keypad_proc()
518 LV_LOG_INFO("%" LV_PRIu32 " key is released", data->key); in indev_keypad_proc()
519 /*The user might clear the key when it was released. Always release the pressed key*/ in indev_keypad_proc()
520 data->key = prev_key; in indev_keypad_proc()
521 if(data->key == LV_KEY_ENTER) { in indev_keypad_proc()
561 i->proc.types.keypad.last_key = data->key; in indev_encoder_proc()
584 if(data->key == LV_KEY_ENTER) { in indev_encoder_proc()
592 else if(data->key == LV_KEY_LEFT) { in indev_encoder_proc()
596 else if(data->key == LV_KEY_RIGHT) { in indev_encoder_proc()
600 else if(data->key == LV_KEY_ESC) { in indev_encoder_proc()
601 /*Send the ESC as a normal KEY*/ in indev_encoder_proc()
610 lv_group_send_data(g, data->key); in indev_encoder_proc()
622 if(data->key == LV_KEY_ENTER) { in indev_encoder_proc()
649 if(data->key == LV_KEY_ENTER) { in indev_encoder_proc()
653 else if(data->key == LV_KEY_LEFT) { in indev_encoder_proc()
657 else if(data->key == LV_KEY_RIGHT) { in indev_encoder_proc()
662 lv_group_send_data(g, data->key); in indev_encoder_proc()
673 if(data->key == LV_KEY_ENTER) { in indev_encoder_proc()