OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 #include "ui/events/ozone/evdev/input_device_settings_evdev.h" |
| 6 |
| 7 namespace ui { |
| 8 |
| 9 const int kDefaultSensitivity = 3; |
| 10 |
| 11 // The initial settings are not critical since they will be shortly be changed |
| 12 // to the user's preferences or the application's own defaults. |
| 13 |
| 14 InputDeviceSettingsEvdev::InputDeviceSettingsEvdev() |
| 15 : tap_to_click_enabled(true), |
| 16 three_finger_click_enabled(false), |
| 17 tap_dragging_enabled(false), |
| 18 natural_scroll_enabled(false), |
| 19 tap_to_click_paused(false), |
| 20 touchpad_sensitivity(kDefaultSensitivity), |
| 21 mouse_sensitivity(kDefaultSensitivity) { |
| 22 } |
| 23 |
| 24 InputDeviceSettingsEvdev::InputDeviceSettingsEvdev( |
| 25 const InputDeviceSettingsEvdev& other) = default; |
| 26 |
| 27 InputDeviceSettingsEvdev::~InputDeviceSettingsEvdev() { |
| 28 } |
| 29 |
| 30 } // namespace ui |
OLD | NEW |