OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_BASE_TOUCH_MULTI_TOUCH_DEVICE_X11_H_ |
| 6 #define UI_BASE_TOUCH_MULTI_TOUCH_DEVICE_X11_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <X11/extensions/XInput.h> |
| 10 #include <X11/extensions/XInput2.h> |
| 11 |
| 12 namespace ui { |
| 13 class MultiTouchDevice; |
| 14 |
| 15 // Assemble a multi-touch device from an XIDeviceInfo. |
| 16 // Returns true on success, false otherwise. |
| 17 bool xi_device_info_to_mt_device(XIDeviceInfo * info, |
| 18 MultiTouchDevice & out); |
| 19 |
| 20 } // namespace ui |
| 21 |
| 22 #endif // UI_BASE_TOUCH_MULTI_TOUCH_DEVICE_X11_H_ |
| 23 |
OLD | NEW |