Class InputConfiguration::Mouse

Nested Relationships

This class is a nested type of Class InputConfiguration.

Class Documentation

class Mouse

Input configuration for mouse pointer devices.

Remark

Since MirAL 5.1

Public Functions

Mouse()
~Mouse()
Mouse(Mouse const &that)
auto operator=(Mouse that) -> Mouse&
auto handedness() const -> std::optional<MirPointerHandedness>
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>
void handedness(std::optional<MirPointerHandedness> 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)

Friends

friend class InputConfiguration::Self