Friday, April 20th 2018, 12:41pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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