Languages

Menu
Sites
Language
Wrong eveng handling

I use rotary_event_handler() and evas_object_move(). But when I rotate bezel, UI became (!only for a very little time!) as UI in the beginning ("old gui" - as I describe in create_gui()), then "old gui" hides and animation continues.  

Also, my callback function for rotary_event_handler() changes on of the UI elements, but not all of them! So the problem is in create_gui() repainting when I try to change on of the UI elements after handling rotary event.

Please, explain my, why this happend?

Edited by: Illia Lysenko on 30 Jan, 2016

Responses

2 Replies
woochan lee

Hello.

 

Could you please explain more detaily what problem you got.

otherwise, attach your code please.

Alex Dem

Hi,
Better if you' ll add code snippet and some other details. 
fyi, this api is for wearable only and here is tutorial:
https://developer.tizen.org/development/ui-practices/native-application/efl/hardware-input-handling/managing-rotary-events
Alexey.