From aadaca7169b847d855cf43d94f74800e9faadfc8 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Mon, 11 Mar 2013 14:20:14 -0700 Subject: [PATCH] Add TOUCH_NAVIGATION input source Change-Id: Id76e2e85246269ba7b16bb9635e41593b45cac1c --- include/android/input.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/android/input.h b/include/android/input.h index f2befa9ea..c8ac93866 100644 --- a/include/android/input.h +++ b/include/android/input.h @@ -428,6 +428,7 @@ enum { enum { AINPUT_SOURCE_CLASS_MASK = 0x000000ff, + AINPUT_SOURCE_CLASS_NONE = 0x00000000, AINPUT_SOURCE_CLASS_BUTTON = 0x00000001, AINPUT_SOURCE_CLASS_POINTER = 0x00000002, AINPUT_SOURCE_CLASS_NAVIGATION = 0x00000004, @@ -446,6 +447,7 @@ enum { AINPUT_SOURCE_STYLUS = 0x00004000 | AINPUT_SOURCE_CLASS_POINTER, AINPUT_SOURCE_TRACKBALL = 0x00010000 | AINPUT_SOURCE_CLASS_NAVIGATION, AINPUT_SOURCE_TOUCHPAD = 0x00100000 | AINPUT_SOURCE_CLASS_POSITION, + AINPUT_SOURCE_TOUCH_NAVIGATION = 0x00200000 | AINPUT_SOURCE_CLASS_NONE, AINPUT_SOURCE_JOYSTICK = 0x01000000 | AINPUT_SOURCE_CLASS_JOYSTICK, AINPUT_SOURCE_ANY = 0xffffff00,