diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2018-10-31 17:59:14 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2018-11-01 12:16:01 -0500 |
commit | 3970c4ffbe2d0101041d3f8b377b4b02b6276188 (patch) | |
tree | 9e195e719376533c5e579b2ca27d6591105e140f /support/magicleap/Servo2D/code/inc/Servo2D.h | |
parent | 95bfaa0a770479fb3bf6bf0b1f85c9ae343e66ff (diff) | |
download | servo-3970c4ffbe2d0101041d3f8b377b4b02b6276188.tar.gz servo-3970c4ffbe2d0101041d3f8b377b4b02b6276188.zip |
Support scrolling in Magic Leap Servo
Diffstat (limited to 'support/magicleap/Servo2D/code/inc/Servo2D.h')
-rw-r--r-- | support/magicleap/Servo2D/code/inc/Servo2D.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/magicleap/Servo2D/code/inc/Servo2D.h b/support/magicleap/Servo2D/code/inc/Servo2D.h index 29477cf3cd8..559817ea280 100644 --- a/support/magicleap/Servo2D/code/inc/Servo2D.h +++ b/support/magicleap/Servo2D/code/inc/Servo2D.h @@ -5,6 +5,7 @@ #include <lumin/LandscapeApp.h> #include <lumin/Prism.h> #include <lumin/event/ServerEvent.h> +#include <lumin/event/GestureInputEventData.h> #include <lumin/event/KeyInputEventData.h> #include <lumin/event/ControlTouchPadInputEventData.h> #include <lumin/node/QuadNode.h> @@ -100,8 +101,8 @@ protected: */ virtual bool eventListener(lumin::ServerEvent* event) override; bool touchpadEventListener(lumin::ControlTouchPadInputEventData* event); - bool keyEventListener(lumin::KeyInputEventData* event); void urlBarEventListener(); + bool gestureEventListener(lumin::GestureInputEventData* event); /** * Get the current cursor position, with respect to the viewport. |