#include <mir_pointer_config.h>
◆ MirPointerConfig() [1/4]
MirPointerConfig::MirPointerConfig |
( |
| ) |
|
◆ ~MirPointerConfig()
MirPointerConfig::~MirPointerConfig |
( |
| ) |
|
◆ MirPointerConfig() [2/4]
◆ MirPointerConfig() [3/4]
◆ MirPointerConfig() [4/4]
◆ acceleration() [1/2]
◆ acceleration() [2/2]
◆ cursor_acceleration_bias() [1/2]
double MirPointerConfig::cursor_acceleration_bias |
( |
| ) |
const |
Configures the intensity of the cursor acceleration. Values within the range of [-1, 1] are allowed.
- 0: default acceleration
- [-1, 0): reduced acceleration
- (0, 1]: increased acceleration
- Examples:
- server_example_input_device_config.cpp.
◆ cursor_acceleration_bias() [2/2]
void MirPointerConfig::cursor_acceleration_bias |
( |
double |
| ) |
|
◆ handedness() [1/2]
Configure which button shall be used as primary button. That way the input device is configured to be either right or left handed.
◆ handedness() [2/2]
◆ horizontal_scroll_scale() [1/2]
double MirPointerConfig::horizontal_scroll_scale |
( |
| ) |
const |
Configures a signed scale of the horizontal scrolling. Use negative values to configure 'natural scrolling'
◆ horizontal_scroll_scale() [2/2]
void MirPointerConfig::horizontal_scroll_scale |
( |
double |
| ) |
|
◆ operator!=()
◆ operator=()
◆ operator==()
◆ vertical_scroll_scale() [1/2]
double MirPointerConfig::vertical_scroll_scale |
( |
| ) |
const |
Configures a signed scale of the vertical scrolling. Use negative values to configure 'natural scrolling'
◆ vertical_scroll_scale() [2/2]
void MirPointerConfig::vertical_scroll_scale |
( |
double |
| ) |
|
The documentation for this struct was generated from the following file:
Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Mar 27 12:06:55 UTC 2017