Searched refs:key_pressed (Results 1 – 2 of 2) sorted by relevance
15 static bool key_pressed; variable64 data->state = key_pressed ? LV_INDEV_STATE_PRESSED : LV_INDEV_STATE_RELEASED; in lv_test_keypad_read_cb()70 key_pressed = true; in lv_test_key_press()75 key_pressed = false; in lv_test_key_release()
71 if(key_pressed()) data->state = LV_INDEV_STATE_PRESSED;128 if(key_pressed()) data->state = LV_INDEV_STATE_PRESSED;