Mir
pointer_settings.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2015 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by:
17  * Andreas Pokorny <andreas.pokorny@canonical.com>
18  */
19 
20 #ifndef MIR_INPUT_POINTER_SETTINGS_H_
21 #define MIR_INPUT_POINTER_SETTINGS_H_
22 
25 
26 namespace mir
27 {
28 namespace input
29 {
30 
32 {
56  double vertical_scroll_scale{1.0};
57 };
58 
59 }
60 }
61 
62 #endif
Definition: as_render_target.h:27
double cursor_acceleration_bias
Bias cursor acceleration.
Definition: pointer_settings.h:44
double vertical_scroll_scale
Scale vertical scrolling linearly.
Definition: pointer_settings.h:56
MirPointerAcceleration acceleration
Acceleration profile.
Definition: pointer_settings.h:48
PointerSettings()
Definition: pointer_settings.h:33
double horizontal_scroll_scale
Scale horizontal scrolling linearly.
Definition: pointer_settings.h:52
Definition: mir_input_device_types.h:35
Definition: mir_input_device_types.h:51
MirPointerHandedness
Definition: mir_input_device_types.h:33
MirPointerAcceleration
MirPointerAcceleration describes the way pointer movement is filtered:
Definition: mir_input_device_types.h:48
MirPointerHandedness handedness
Configure left and right handed mode by selecting a primary button.
Definition: pointer_settings.h:37
Definition: pointer_settings.h:31

Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Jun 5 11:05:03 UTC 2017