screen_get_mtouch_event()

Retrieve touch event data from a screen event.

Synopsis:

#include <input/screen_helpers.h>
 
static int screen_get_mtouch_event(screen_event_t screen_event, mtouch_event_t *mtouch_event, int screen_abs)

Since:

BlackBerry 10.0.0

Arguments:

screen_event

The screen event to retrieve data from.

mtouch_event

The mtouch_event to populate.

screen_abs

If 1, use screen coordinates otherwise use source viewport.

Library:

libinputevents (For the qcc command, use the -l inputevents option to link against this library)

Description:

The function screen_get_mtouch_event() populates the mtouch_event with data fetched from the screen event.

Returns:

0 on success, -1 on failure.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus