I have a device with a display and a rotary encoder. The have provided drivers for both of them and they work fine.
I’m trying to create an interaction with the encoder, that is different from the standard one (move between focusable widgets). For example, in one screen, I want that an encoder turn would switch to a different screen. In another screen, it should update a variable, that is reflected by a label text.
How do I catch the encoder rotation events? What event type does it emit (I can see EVENT_KEY, but not from the encoder)? How do I prevent it from doing it’s standard action? Is there a way to get it processed by different callbacks in different screens?