Bug 762153 - Force input devices to not report hovering key [r=mwu]

This commit is contained in:
Fabrice Desré 2012-06-06 11:39:33 -07:00
parent 3c61629998
commit 613c764d6a

View File

@ -1206,7 +1206,9 @@ TouchButtonAccumulator::TouchButtonAccumulator() :
}
void TouchButtonAccumulator::configure(InputDevice* device) {
mHaveBtnTouch = device->hasKey(BTN_TOUCH);
// Some input devices return erroneous information to us,
// which lead to have only hovering pointer ids.
//mHaveBtnTouch = device->hasKey(BTN_TOUCH);
}
void TouchButtonAccumulator::reset(InputDevice* device) {