commit | d8fccf0124b78230ae2071fecc6bc6aebe8c540c | [log] [tgz] |
---|---|---|
author | Kevin Schoedel <kpschoedel@google.com> | Mon Jun 05 11:13:20 2017 -0400 |
committer | Kevin Schoedel <kpschoedel@google.com> | Tue Jun 06 12:34:39 2017 -0400 |
tree | f6f70495cff1bce472736d57a68bf6bb331bd3aa | |
parent | cf61460126ff0f945e27171f241b800b21bb160e [diff] [blame] |
Add DVR API for scroll event injection. Bug: 62226675 Test: manual, vrcore build Change-Id: Ic7d329eba8003b0e294b3a11a83ed5f868b801f8
diff --git a/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h b/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h index 2fb8ff3..c9578bf 100644 --- a/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h +++ b/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h
@@ -21,6 +21,7 @@ status_t Detach() override; status_t Touch(int touchpad, float x, float y, float pressure) override; status_t ButtonState(int touchpad, int buttons) override; + status_t Scroll(int touchpad, float x, float y) override; void dumpInternal(String8& result) override; protected: