#include <mir_touchpad_config.h>
MirTouchpadConfig::MirTouchpadConfig |
( |
| ) |
|
MirTouchpadConfig::~MirTouchpadConfig |
( |
| ) |
|
MirTouchpadConfig::MirTouchpadConfig |
( |
MirTouchpadClickModes |
click_mode, |
|
|
MirTouchpadScrollModes |
scroll_mode, |
|
|
int |
button_down_scroll_button, |
|
|
bool |
tap_to_click, |
|
|
bool |
disable_while_typing, |
|
|
bool |
disable_with_mouse, |
|
|
bool |
middle_mouse_button_emulation |
|
) |
| |
int MirTouchpadConfig::button_down_scroll_button |
( |
| ) |
const |
Configures the button used for the on-button-down scroll mode
void MirTouchpadConfig::button_down_scroll_button |
( |
int |
| ) |
|
The click mode defines when the touchpad generates software emulated button events.
bool MirTouchpadConfig::disable_while_typing |
( |
| ) |
const |
When disable-with-mouse is enabled the touchpad will stop to emit user input events when the user starts to use a keyboard and a short period after.
- Examples:
- server_example_input_device_config.cpp.
void MirTouchpadConfig::disable_while_typing |
( |
bool |
| ) |
|
bool MirTouchpadConfig::disable_with_mouse |
( |
| ) |
const |
When disable-with-mouse is enabled the touchpad will stop to emit user input events when another pointing device is plugged in.
void MirTouchpadConfig::disable_with_mouse |
( |
bool |
| ) |
|
bool MirTouchpadConfig::middle_mouse_button_emulation |
( |
| ) |
const |
Emulates a middle mouse button press when the left and right buttons on a touchpad are pressed.
void MirTouchpadConfig::middle_mouse_button_emulation |
( |
bool |
| ) |
|
The scroll mode defines when the touchpad generates scroll events instead of pointer motion events.
bool MirTouchpadConfig::tap_to_click |
( |
| ) |
const |
When tap to click is enabled the system will interpret short finger touch down/up sequences as button clicks.
void MirTouchpadConfig::tap_to_click |
( |
bool |
| ) |
|
The documentation for this struct was generated from the following file:
Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Jun 5 13:49:26 UTC 2017