OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_ |
| 7 #pragma once |
| 8 |
| 9 namespace chromeos { |
| 10 namespace system { |
| 11 |
| 12 namespace touchpad_settings { |
| 13 |
| 14 bool TouchpadExists(); |
| 15 |
| 16 // Sets the touchpad sensitivity in range from 1 to 5. |
| 17 void SetSensitivity(int value); |
| 18 |
| 19 // Turns tap to click on / off. |
| 20 void SetTapToClick(bool enabled); |
| 21 |
| 22 } // namespace touchpad_settings |
| 23 |
| 24 namespace mouse_settings { |
| 25 |
| 26 void SetPrimaryButtonRight(bool right); |
| 27 |
| 28 } // namespace mouse_settings |
| 29 |
| 30 } // namespace system |
| 31 } // namespace chromeos |
| 32 |
| 33 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_INPUT_DEVICE_SETTINGS_H_ |
OLD | NEW |