multipage motion without touch screen (without PID)

  • Can the MOTION feature of the window manager be used without the use of the touch screen or another pointer input device?
    Like the example MOTION_OverlapByWindow.c, I have a multi-page window, but I have hardkeys instead of touch screens.
    What function or message should I use to trigger movement from one page to another?

    best regards
    Max

  • Hi,

    Yes, this is possible. You could fake touch input or use the WM_MOTION API of the Window Manager.

    I recommend the to use the animation module of emWin. If something should be animated without user input I prefer this.

    Please take a look into the example attached.

    Regards
    Sven

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!