diff options
| author | Prashant Malani <pmalani@google.com> | 2015-12-08 01:37:05 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2015-12-08 01:37:05 +0000 |
| commit | 3ebd5ceb90137572262efeda12cdce4b503ddded (patch) | |
| tree | 8d6f5e8321c74cebbe351707f064ccbd4ee6ffce /core/java/android/view/InputDevice.java | |
| parent | e4db3f0757fccdf26d98ab4295ac4828a479e8eb (diff) | |
| parent | 6344cb8144647e4e49bc69cbf34a084ca7712115 (diff) | |
Merge "Add rotary encoder input source" into cw-e-dev am: 487f0d3d15
am: 6344cb8144
* commit '6344cb8144647e4e49bc69cbf34a084ca7712115':
Add rotary encoder input source
Diffstat (limited to 'core/java/android/view/InputDevice.java')
| -rw-r--r-- | core/java/android/view/InputDevice.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/view/InputDevice.java b/core/java/android/view/InputDevice.java index cc4598d16de9..5592f7a42bac 100644 --- a/core/java/android/view/InputDevice.java +++ b/core/java/android/view/InputDevice.java @@ -256,6 +256,15 @@ public final class InputDevice implements Parcelable { public static final int SOURCE_TOUCH_NAVIGATION = 0x00200000 | SOURCE_CLASS_NONE; /** + * The input source is a rotating encoder device whose motions should be interpreted as akin to + * those of a scroll wheel. + * + * @see #SOURCE_CLASS_NONE + * {@hide} + */ + public static final int SOURCE_ROTARY_ENCODER = 0x00400000 | SOURCE_CLASS_NONE; + + /** * The input source is a joystick. * (It may also be a {@link #SOURCE_GAMEPAD}). * |
