summaryrefslogtreecommitdiffstats
path: root/ui/base/touch/touch_device_aurax11.cc
blob: 770f0db513dd4770d8312293dbb99989bda682d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/base/touch/touch_device.h"
#include "ui/events/devices/x11/touch_factory_x11.h"

namespace ui {

bool IsTouchDevicePresent() {
  return ui::TouchFactory::GetInstance()->IsTouchDevicePresent();
}

int MaxTouchPoints() {
  return ui::TouchFactory::GetInstance()->GetMaxTouchPoints();
}

}  // namespace ui