diff options
author | Ethan Chen <intervigil@gmail.com> | 2013-10-08 15:20:02 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-18 00:51:44 -0700 |
commit | fca49c41c379336a345237c60d2577a3c5d20171 (patch) | |
tree | 292854cc71c8b3fcd061b63cf15d9a6c5f52bd93 /cmds | |
parent | a45a56b204c320c04176f71881e85e36357fc27f (diff) | |
download | frameworks_base-fca49c41c379336a345237c60d2577a3c5d20171.zip frameworks_base-fca49c41c379336a345237c60d2577a3c5d20171.tar.gz frameworks_base-fca49c41c379336a345237c60d2577a3c5d20171.tar.bz2 |
Support GESTURE_SENSOR input device type with GestureService
* The GESTURE_SENSOR input device type is meant to support touch sensors
which are meant for gesture input only, very similar to a touchpad,
but without the pointer capability.
* Define separate service to handle gestures from GESTURE_SENSOR device
type.
Change-Id: I9b273df2a3cc141774d7f7cd81e43a90ea5b230b
Hide InputDevice.SOURCE_GESTURE_SENSOR from API
Change-Id: If009e9595fc593594b0e7764669996de137483a1
GestureInput : Allow doubletap/longpress configuration
Allows devices to specify pending intents for double tap and
long press events.
Change-Id: I7e7cc2f9f96a01d8f6232e5cf0e19832fdfd5359
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/input/src/com/android/commands/input/Input.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/input/src/com/android/commands/input/Input.java b/cmds/input/src/com/android/commands/input/Input.java index 2a7c79b..40148c6 100644 --- a/cmds/input/src/com/android/commands/input/Input.java +++ b/cmds/input/src/com/android/commands/input/Input.java @@ -47,6 +47,7 @@ public class Input { put("touchpad", InputDevice.SOURCE_TOUCHPAD); put("touchnavigation", InputDevice.SOURCE_TOUCH_NAVIGATION); put("joystick", InputDevice.SOURCE_JOYSTICK); + put("gesture", InputDevice.SOURCE_GESTURE_SENSOR); }}; |