GX_ANIMATION_SCREEN_DRAG for SSP 1.2.0

Hello,

 

is there any way to use GX_ANIMATION_SCREEN_DRAG with SSP 1.2.0? Or anyway to implement drag-and-drop functionality with SSP 1.2.0?

 

Regards,

isaenz.

  • In reply to anper:

    Hello Imanol,

    thank you for the video. I can see that the display starts to flicker when the right part of the dragged button (its blue margin) goes beyond the display area. Unless it happens, the display seems to look fine, even when the button hovers over another button. If this is the case, you could implement some constraints to prevent the button from going outside the display area.

    -------------------------

    In reference to my previous post - I noticed that, after increasing the "Update Hz" value, it is quite hard to get a pure "click" event. The problem is that the touch panel sends also the GX_EVENT_PEN_DRAG, even if the touch duration is very short. So you get the sequence:

    1. GX_EVENT_PEN_DOWN
    2. GX_EVENT_PEN_DRAG (multiple occurrences)
    3. GX_EVENT_PEN_UP

    This would raise the need to implement an additional logic, which ignores the GX_EVENT_PEN_DRAG, if it occurs for a short time only. To count down the time, the Timer Driver can be used (SSP v1.2.0 User’s Manual > User Guides > HAL Layer > Timer Driver).

    Best regards,
    anper