Mir
Public Member Functions | List of all members
miroil::InputDevice Class Reference

#include <input_device.h>

Public Member Functions

 InputDevice (std::shared_ptr< mir::input::Device > const &device)
 
 InputDevice (InputDevice const &src)
 
 InputDevice (InputDevice &&src)
 
 InputDevice ()
 
 ~InputDevice ()
 
auto operator= (InputDevice const &src) -> InputDevice &
 
auto operator= (InputDevice &&src) -> InputDevice &
 
bool operator== (InputDevice const &other)
 
void apply_keymap (std::string const &layout, std::string const &variant)
 
auto get_device_id () -> MirInputDeviceId
 
auto get_device_name () -> std::string
 
auto is_keyboard () -> bool
 
auto is_alpha_numeric () -> bool
 

Constructor & Destructor Documentation

◆ InputDevice() [1/4]

miroil::InputDevice::InputDevice ( std::shared_ptr< mir::input::Device > const &  device)

◆ InputDevice() [2/4]

miroil::InputDevice::InputDevice ( InputDevice const &  src)

◆ InputDevice() [3/4]

miroil::InputDevice::InputDevice ( InputDevice &&  src)

◆ InputDevice() [4/4]

miroil::InputDevice::InputDevice ( )

◆ ~InputDevice()

miroil::InputDevice::~InputDevice ( )

Member Function Documentation

◆ apply_keymap()

void miroil::InputDevice::apply_keymap ( std::string const &  layout,
std::string const &  variant 
)

◆ get_device_id()

auto miroil::InputDevice::get_device_id ( ) -> MirInputDeviceId

◆ get_device_name()

auto miroil::InputDevice::get_device_name ( ) -> std::string

◆ is_alpha_numeric()

auto miroil::InputDevice::is_alpha_numeric ( ) -> bool

◆ is_keyboard()

auto miroil::InputDevice::is_keyboard ( ) -> bool

◆ operator=() [1/2]

auto miroil::InputDevice::operator= ( InputDevice &&  src) -> InputDevice &

◆ operator=() [2/2]

auto miroil::InputDevice::operator= ( InputDevice const &  src) -> InputDevice &

◆ operator==()

bool miroil::InputDevice::operator== ( InputDevice const &  other)

The documentation for this class was generated from the following file:

Copyright © 2012-2023 Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.