Modifier and Type | Field and Description |
---|---|
float |
a
the angle between an horizontal line in the bottom of the device and the line defined by
by the two farest contacts points when the gesture start, NOT YET IMPLEMENTED.
|
long |
client_time
time of the event in the mobile device for raw multi-touch events.
|
float |
d
"pinch distance": sum of the distances from the contact points to the barycenter of
the contact points divided by the number of contact points.
|
SmartiesDevice |
device
the device that sent this event.
|
long |
duration |
int |
finger_id
finger id for raw multi-touch events.
|
int |
id
identifier of the puck associated to this event (the selected puck),
or -1 if the is no associated puck.
|
int |
keycode
keycode (X Window, QT, GTK ...
|
int |
mode
move/drag modifiers (= (num_tapes > 0)? 1:0)
|
int |
num_fingers
number of fingers down at start of a move/pinch gesture.
|
int |
num_taps
number of taps for MULTITAP or num tapes before a [mf][move,drag,pitch] gestures.
|
SmartiesPuck |
p
the puck associated to this event (the selected puck),
or null if there is no associated puck.
|
int |
post_mode
number of additionnal fingers down after a move/drag/pinch gesture started.
|
static int |
SMARTIE_EVENTS_TYPE_CREATE |
static int |
SMARTIE_EVENTS_TYPE_DELETE |
static int |
SMARTIE_EVENTS_TYPE_DOWN |
static int |
SMARTIE_EVENTS_TYPE_END_MFMOVE |
static int |
SMARTIE_EVENTS_TYPE_END_MFPINCH |
static int |
SMARTIE_EVENTS_TYPE_END_MOVE |
static int |
SMARTIE_EVENTS_TYPE_KEYDOWN |
static int |
SMARTIE_EVENTS_TYPE_KEYUP |
static int |
SMARTIE_EVENTS_TYPE_LONGPRESS |
static int |
SMARTIE_EVENTS_TYPE_MFMOVE |
static int |
SMARTIE_EVENTS_TYPE_MFPINCH |
static int |
SMARTIE_EVENTS_TYPE_MOVE |
static int |
SMARTIE_EVENTS_TYPE_MULTI_TAPS |
static int |
SMARTIE_EVENTS_TYPE_NEW_DEVICE |
static int |
SMARTIE_EVENTS_TYPE_NONE |
static int |
SMARTIE_EVENTS_TYPE_RAW_DOWN |
static int |
SMARTIE_EVENTS_TYPE_RAW_MOVE |
static int |
SMARTIE_EVENTS_TYPE_RAW_UP |
static int |
SMARTIE_EVENTS_TYPE_SELECT |
static int |
SMARTIE_EVENTS_TYPE_SHARE |
static int |
SMARTIE_EVENTS_TYPE_START_MFMOVE |
static int |
SMARTIE_EVENTS_TYPE_START_MFPINCH |
static int |
SMARTIE_EVENTS_TYPE_START_MOVE |
static int |
SMARTIE_EVENTS_TYPE_STORE |
static int |
SMARTIE_EVENTS_TYPE_STRING_EDIT |
static int |
SMARTIE_EVENTS_TYPE_TAP |
static int |
SMARTIE_EVENTS_TYPE_UNSTORE |
static int |
SMARTIE_EVENTS_TYPE_WIDGET |
static int |
SMARTIE_GESTUREMOD_DRAG |
static int |
SMARTIE_GESTUREMOD_HOVER |
static int |
SMARTIES_EVENTS_TYPE_CREATE |
static int |
SMARTIES_EVENTS_TYPE_DELETE |
static int |
SMARTIES_EVENTS_TYPE_DEVICE_SIZES |
static int |
SMARTIES_EVENTS_TYPE_DOWN |
static int |
SMARTIES_EVENTS_TYPE_END_MFMOVE |
static int |
SMARTIES_EVENTS_TYPE_END_MFPINCH |
static int |
SMARTIES_EVENTS_TYPE_END_MOVE |
static int |
SMARTIES_EVENTS_TYPE_KEYDOWN |
static int |
SMARTIES_EVENTS_TYPE_KEYUP |
static int |
SMARTIES_EVENTS_TYPE_LONGPRESS |
static int |
SMARTIES_EVENTS_TYPE_MFMOVE |
static int |
SMARTIES_EVENTS_TYPE_MFPINCH |
static int |
SMARTIES_EVENTS_TYPE_MOVE |
static int |
SMARTIES_EVENTS_TYPE_MULTI_TAPS |
static int |
SMARTIES_EVENTS_TYPE_NEW_DEVICE |
static int |
SMARTIES_EVENTS_TYPE_RAW_DOWN |
static int |
SMARTIES_EVENTS_TYPE_RAW_MOVE |
static int |
SMARTIES_EVENTS_TYPE_RAW_UP |
static int |
SMARTIES_EVENTS_TYPE_SELECT |
static int |
SMARTIES_EVENTS_TYPE_SHARE |
static int |
SMARTIES_EVENTS_TYPE_START_MFMOVE |
static int |
SMARTIES_EVENTS_TYPE_START_MFPINCH |
static int |
SMARTIES_EVENTS_TYPE_START_MOVE |
static int |
SMARTIES_EVENTS_TYPE_STORE |
static int |
SMARTIES_EVENTS_TYPE_STRING_EDIT |
static int |
SMARTIES_EVENTS_TYPE_TAP |
static int |
SMARTIES_EVENTS_TYPE_UNSTORE |
static int |
SMARTIES_EVENTS_TYPE_WIDGET |
static int |
SMARTIES_GESTUREMOD_DRAG |
static int |
SMARTIES_GESTUREMOD_HOVER |
String |
text
Some text.
|
int |
type
The event type: one of the SMARTIES_EVENTS_TYPE_* constants.
|
int |
value
A value (slider, slected item, ...).
|
SmartiesWidget |
widget
The widget of the event.
|
float |
x
relative x position of the puck, of a contact point, or of the barycenter of the contact points.
|
float |
y
relative y position of the puck, of a contact point, or of the barycenter of the contact points.
|
public static final int SMARTIES_EVENTS_TYPE_MULTI_TAPS
public static final int SMARTIES_EVENTS_TYPE_TAP
public static final int SMARTIES_EVENTS_TYPE_LONGPRESS
public static final int SMARTIES_EVENTS_TYPE_DOWN
public static final int SMARTIES_EVENTS_TYPE_START_MOVE
public static final int SMARTIES_EVENTS_TYPE_MOVE
public static final int SMARTIES_EVENTS_TYPE_END_MOVE
public static final int SMARTIES_EVENTS_TYPE_START_MFPINCH
public static final int SMARTIES_EVENTS_TYPE_MFPINCH
public static final int SMARTIES_EVENTS_TYPE_END_MFPINCH
public static final int SMARTIES_EVENTS_TYPE_START_MFMOVE
public static final int SMARTIES_EVENTS_TYPE_MFMOVE
public static final int SMARTIES_EVENTS_TYPE_END_MFMOVE
public static final int SMARTIES_EVENTS_TYPE_RAW_DOWN
public static final int SMARTIES_EVENTS_TYPE_RAW_UP
public static final int SMARTIES_EVENTS_TYPE_RAW_MOVE
public static final int SMARTIES_GESTUREMOD_HOVER
public static final int SMARTIES_GESTUREMOD_DRAG
public static final int SMARTIES_EVENTS_TYPE_KEYUP
public static final int SMARTIES_EVENTS_TYPE_KEYDOWN
public static final int SMARTIES_EVENTS_TYPE_STRING_EDIT
public static final int SMARTIES_EVENTS_TYPE_CREATE
public static final int SMARTIES_EVENTS_TYPE_DELETE
public static final int SMARTIES_EVENTS_TYPE_SELECT
public static final int SMARTIES_EVENTS_TYPE_STORE
public static final int SMARTIES_EVENTS_TYPE_UNSTORE
public static final int SMARTIES_EVENTS_TYPE_SHARE
public static final int SMARTIES_EVENTS_TYPE_NEW_DEVICE
public static final int SMARTIES_EVENTS_TYPE_DEVICE_SIZES
public static final int SMARTIES_EVENTS_TYPE_WIDGET
public int type
public int id
public SmartiesPuck p
public SmartiesDevice device
public int num_fingers
public int mode
public int num_taps
public int post_mode
public float x
public float y
public float d
public float a
public long duration
public int finger_id
public long client_time
public int keycode
public SmartiesWidget widget
public int value
public String text
SmartiesWidget.SMARTIES_WIDGET_TYPE_INCTEXT_BUTTON
widget type.public static final int SMARTIE_EVENTS_TYPE_NONE
public static final int SMARTIE_EVENTS_TYPE_MULTI_TAPS
public static final int SMARTIE_EVENTS_TYPE_TAP
public static final int SMARTIE_EVENTS_TYPE_LONGPRESS
public static final int SMARTIE_EVENTS_TYPE_DOWN
public static final int SMARTIE_EVENTS_TYPE_START_MOVE
public static final int SMARTIE_EVENTS_TYPE_MOVE
public static final int SMARTIE_EVENTS_TYPE_END_MOVE
public static final int SMARTIE_EVENTS_TYPE_START_MFPINCH
public static final int SMARTIE_EVENTS_TYPE_MFPINCH
public static final int SMARTIE_EVENTS_TYPE_END_MFPINCH
public static final int SMARTIE_EVENTS_TYPE_START_MFMOVE
public static final int SMARTIE_EVENTS_TYPE_MFMOVE
public static final int SMARTIE_EVENTS_TYPE_END_MFMOVE
public static final int SMARTIE_EVENTS_TYPE_RAW_DOWN
public static final int SMARTIE_EVENTS_TYPE_RAW_UP
public static final int SMARTIE_EVENTS_TYPE_RAW_MOVE
public static final int SMARTIE_GESTUREMOD_HOVER
public static final int SMARTIE_GESTUREMOD_DRAG
public static final int SMARTIE_EVENTS_TYPE_KEYUP
public static final int SMARTIE_EVENTS_TYPE_KEYDOWN
public static final int SMARTIE_EVENTS_TYPE_STRING_EDIT
public static final int SMARTIE_EVENTS_TYPE_CREATE
public static final int SMARTIE_EVENTS_TYPE_DELETE
public static final int SMARTIE_EVENTS_TYPE_SELECT
public static final int SMARTIE_EVENTS_TYPE_STORE
public static final int SMARTIE_EVENTS_TYPE_UNSTORE
public static final int SMARTIE_EVENTS_TYPE_SHARE
public static final int SMARTIE_EVENTS_TYPE_NEW_DEVICE
public static final int SMARTIE_EVENTS_TYPE_WIDGET
Copyright © 2017. All rights reserved.