Hello everyone.
Summary: we are going to turn on support for XInput 2.2 by default for
Linux. Among other things, XI2.2 has better [multi] touch-support, and
has been in use in ChromeOS for a while.
More details: we currently use the 'use_xi2_mt' gyp variable to turn
on XI2.2, which sets the USE_XI2_MT define. This define is used in the
following files:
ash/touch/touch_hud_debug.cc
ash/touch/touch_uma.cc
base/message_loop/message_pump_x11.cc
build/common.gypi
chrome/browser/chromeos/login/chrome_restart_request.cc
chromeos/display/real_output_configurator_delegate.cc
ui/aura/root_window_host_x11.cc
ui/base/touch/touch_factory_x11.cc
ui/base/touch/touch_factory_x11.h
ui/base/ui_base_switches.cc
ui/base/ui_base_switches.h
ui/base/x/device_data_manager.cc
ui/base/x/device_data_manager.h
ui/base/x/events_x.cc
ui/base/x/events_x_unittest.cc
This change shouldn't affect any developers (most linux distro, e.g.
Ubuntu precise, has support for XI2.2). If this does break the build
for someone, you can add 'use_xi2_mt=0' to your GYP_DEFINES, and that
should fix the build issue. The eventual goal though is to remove this
flag altogether, and cleanup the relevant code around USE_XI2_MT.
The CL is here:
https://codereview.chromium.org/19486006/ I plan on
landing it over the weekend.
Sadrul