mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Support scrolling in Magic Leap Servo
This commit is contained in:
parent
95bfaa0a77
commit
3970c4ffbe
3 changed files with 101 additions and 16 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue