Thursday, April 19th 2018, 7:27pm UTC+2

You are not logged in.

  • Login
  • Register

mastupristi

Beginner

Date of registration: Feb 18th 2016

Posts: 38

1

Wednesday, April 11th 2018, 11:07pm

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

SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 561

2

Thursday, April 12th 2018, 11:47am

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
SEGGER - Schoenen has attached the following file:

Similar threads