Class InputConfiguration::Touchpad

Nested Relationships

This class is a nested type of Class InputConfiguration.

Class Documentation

class Touchpad

Input configuration for touchpad devices.

Remark

Since MirAL 5.1

Public Functions

Touchpad()
~Touchpad()
Touchpad(Touchpad const &that)
auto operator=(Touchpad that) -> Touchpad&
auto disable_while_typing() const -> std::optional<bool>
auto disable_with_external_mouse() const -> std::optional<bool>
auto acceleration() const -> std::optional<MirPointerAcceleration>
auto acceleration_bias() const -> std::optional<double>
auto vscroll_speed() const -> std::optional<double>
auto hscroll_speed() const -> std::optional<double>
auto click_mode() const -> std::optional<MirTouchpadClickMode>
auto scroll_mode() const -> std::optional<MirTouchpadScrollMode>
auto tap_to_click() const -> std::optional<bool>
void disable_while_typing(std::optional<bool> const &val)
void disable_with_external_mouse(std::optional<bool> const &val)
void acceleration(std::optional<MirPointerAcceleration> const &val)
void acceleration_bias(std::optional<double> const &val)

Note

val will be clamped to the range [-1.0, 1.0]

void vscroll_speed(std::optional<double> const &val)
void hscroll_speed(std::optional<double> const &val)
void click_mode(std::optional<MirTouchpadClickMode> const &val)
void scroll_mode(std::optional<MirTouchpadScrollMode> const &val)
void tap_to_click(std::optional<bool> const &val)

Friends

friend class InputConfiguration::Self