ozone: evdev: Keep track of settings & apply to new devices
[chromium-blink-merge.git] / ui / events / ozone / evdev / input_device_settings_evdev.h
blob6c04a16d2dac5147b7b55fd8142d2d0ad228dd2d
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.
5 #ifndef UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_SETTINGS_EVDEV_H_
6 #define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_SETTINGS_EVDEV_H_
8 namespace ui {
10 struct InputDeviceSettingsEvdev {
11 InputDeviceSettingsEvdev();
12 InputDeviceSettingsEvdev(const InputDeviceSettingsEvdev& other);
13 ~InputDeviceSettingsEvdev();
15 bool tap_to_click_enabled;
16 bool three_finger_click_enabled;
17 bool tap_dragging_enabled;
18 bool natural_scroll_enabled;
19 bool tap_to_click_paused;
21 int touchpad_sensitivity;
22 int mouse_sensitivity;
25 } // namespace ui
27 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_SETTINGS_EVDEV_H_