History log of /frameworks/native/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/frameworks/native/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h
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
/frameworks/native/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h
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
/frameworks/native/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h
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
/frameworks/native/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h
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
/frameworks/native/services/vr/virtual_touchpad/VirtualTouchpadEvdev.h