06936feb07bf6fbef262e4adebeb8e53910d8cf4 |
05-Apr-2017 |
Santos Cordon <santoscordon@google.com> |
Add uniqueId to Virtual Display and pass through to inputflinger (2/2) This CL adds: 1) Adds uniqueId (protected via system/sig permission) to virtual displays. 2) Add support for N virtual display viewports into inputflinger. 3) Set the virtual display's viewports in inputflinger if it has the uniqueId value set to non-null. (a) Moving the new viewport from java to native inputflinger and (b) adding "uniqueId" value to viewports makes up the great majority of this change. 4) From the inputflinger side, we also read in a new value from the input device configuration files called 'touch.displayId'. 5) When touch.displayId and the virtual display's uniqueId match, inputflinger links the two. Test: Start VR and ensure that the virtual viewport shows up when running 'adb shell dump input". Run a VR app, and ensure that the virtual input device is associated with the new virtual viewport. Bug: 36051620 Change-Id: I662f09f863a3dc94c570e7e7f30b83888b3f514c Merged-In: I662f09f863a3dc94c570e7e7f30b83888b3f514c
irtualTouchpad_test.cpp
|
de1cdaebc9b8fdbc5348e6c07f849b74bacc485d |
17-Mar-2017 |
Kevin Schoedel <kpschoedel@google.com> |
Add C interface for virtual touchpad client. For use by the dvr api. Changes VrWindowManager::ShellView to exercise this change, and because it will be used when that code relocates to VrCore. Bug: 36050790 Test: use in vr_wm. Change-Id: I0fa67d19f94939ae41ef0ea2338f92f6147a4111
irtualTouchpad_test.cpp
|
0108af72a8d8d2ee2af127b4c099b340ad63e3f8 |
09-Mar-2017 |
Kevin Schoedel <kpschoedel@google.com> |
Support multiple virtual touchpads. The service now creates two uinput devices, named "vr virtual touchpad 0" for VirtualTouchpad::PRIMARY and "vr virtual touchpad 1" for VirtualTouchpad::VIRTUAL. Bug: b/35992608 Test: expanded VirtualTouchpad_test unit test Change-Id: I8749d559a56cfa9c8ec9a039ff7ad44d16f81915
irtualTouchpad_test.cpp
|
4b64dd48b6896d6b963f0a3a0259d3d2a7076a9e |
07-Mar-2017 |
Kevin Schoedel <kpschoedel@google.com> |
Revise virtual touchpad interface. - Explicit start and stop, outside of which the evdev devices don't exist. - Permission test (not compiled by default pending build & SELinux support for temporarily retaining a second copy of the service for vr_wm). - Enforce a single user of the touchpad. - Support 'dumpsys'. Bug: 36051900 Test: log inspection Change-Id: I038ed2632d5adf50a3565a981031691d5dc5f7cd
irtualTouchpad_test.cpp
|
3002b8a74431dd7c005269cf9306443a4b4963f1 |
06-Mar-2017 |
Kevin Schoedel <kpschoedel@google.com> |
Interface for multiple virtual touchpads. This passes the touchpad selection across binder, but does not yet actually implement multiple touchpad devices. Bug: b/35992608 Test: primary only in VirtualTouchpad_test Change-Id: I7529735362e0e38805b9c0e52e07b5efc86bd535
irtualTouchpad_test.cpp
|
89af70bce420f011adfeb0f80984b3895c4d7d9b |
04-Mar-2017 |
Kevin Schoedel <kpschoedel@google.com> |
Provide a library interface to the virtual touchpad service. And make VrWindowManager pay for^H^H^H^H^H^H^H^H use it. The library interface is a step toward moving 2D embedding into VrCore because it hides the binder connection that isn't directly accessible to VrCore. As a matter of implementation, the touchpad-service client library and the low-level evdev touchpad are derived from the same interface. Bug: b/35990873 Test: VirtualTouchpad_test; integration TBD. Change-Id: Ic922ff223ddd5a44f6fb4433a271f8341e93a0e7
irtualTouchpad_test.cpp
|
43b5b06c8be24e465bd6a7b22a8d341db1ad50a2 |
19-Jan-2017 |
Kevin Schoedel <kpschoedel@google.com> |
Add synthetic back button to virtual touchpad/stylus. Also add a bit more error checking and documentation. Test: added to VirtualTouchpad_test.cpp Bug: 34673438 Change-Id: I3851a2ad79c5338cdd1db0c7d460aecfff082cc3
irtualTouchpad_test.cpp
|
e4eec20f6263f4a42ae462456f60ea6c4518bb0a |
27-Jan-2017 |
Alex Vakulenko <avakulenko@google.com> |
Add DaydreamVR native libraries and services Upstreaming the main VR system components from master-dreamos-dev into goog/master. Bug: None Test: `m -j32` succeeds. Sailfish boots and basic_vr sample app works Change-Id: I853015872afc443aecee10411ef2d6b79184d051
irtualTouchpad_test.cpp
|