Android: Add onHover events to TouchEvent. Not implemented yet.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10906 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
@@ -64,6 +64,22 @@ public class TouchEvent extends InputEvent {
|
||||
TAP,
|
||||
DOUBLETAP,
|
||||
LONGPRESSED,
|
||||
/**
|
||||
* Finger started hovering over the screen without touching
|
||||
* Requires Android OS rev 14 or higher (Android 4.0 or higher)
|
||||
*/
|
||||
HOVER_START,
|
||||
/**
|
||||
* Finger moved while still hovering over the screen without touching
|
||||
* Requires Android OS rev 14 or higher (Android 4.0 or higher)
|
||||
*/
|
||||
HOVER_MOVE,
|
||||
/**
|
||||
* Finger was pulled away from the screen or touched the screen
|
||||
* Requires Android OS rev 14 or higher (Android 4.0 or higher)
|
||||
*/
|
||||
HOVER_END,
|
||||
|
||||
// Two finger scale events
|
||||
/**
|
||||
* Two finger scale event start, fields: posX/posY = getFocusX/Y, scaleFactor, scaleSpan
|
||||
|
||||
Reference in New Issue
Block a user