summaryrefslogtreecommitdiffstats
path: root/libs/input
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2013-07-10 18:05:15 -0700
committerMichael Wright <michaelwr@google.com>2013-07-11 15:24:09 -0700
commit931fd6dee7891e94650353c09956ccf24b4dfff3 (patch)
treebf2115128cdad1b2973aa4c894a09ffae1213700 /libs/input
parentbb7272f137ad3558bba5ee3a31dcfe4f41cc797f (diff)
downloadframeworks_native-931fd6dee7891e94650353c09956ccf24b4dfff3.zip
frameworks_native-931fd6dee7891e94650353c09956ccf24b4dfff3.tar.gz
frameworks_native-931fd6dee7891e94650353c09956ccf24b4dfff3.tar.bz2
Add input device property for buttons under touchpads
Bug: 8990644 Change-Id: I6df5fb9e11199173d62523928082db428af55394
Diffstat (limited to 'libs/input')
-rw-r--r--libs/input/InputDevice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/input/InputDevice.cpp b/libs/input/InputDevice.cpp
index 77fa49d..54703d4 100644
--- a/libs/input/InputDevice.cpp
+++ b/libs/input/InputDevice.cpp
@@ -136,6 +136,7 @@ InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) :
mKeyboardType(other.mKeyboardType),
mKeyCharacterMap(other.mKeyCharacterMap),
mHasVibrator(other.mHasVibrator),
+ mHasButtonUnderPad(other.mHasButtonUnderPad),
mMotionRanges(other.mMotionRanges) {
}
@@ -152,6 +153,7 @@ void InputDeviceInfo::initialize(int32_t id, int32_t generation,
mSources = 0;
mKeyboardType = AINPUT_KEYBOARD_TYPE_NONE;
mHasVibrator = false;
+ mHasButtonUnderPad = false;
mMotionRanges.clear();
}