Public Member Functions | List of all members
miral::Keymap Class Reference

Load a keymap. More...

#include <keymap.h>

Public Member Functions

 Keymap ()
 Apply keymap from the config. More...
 Keymap (std::string const &keymap)
 Specify a keymap. Format is: More...
 ~Keymap ()
 Keymap (Keymap const &that)
auto operator= (Keymap const &rhs) -> Keymap &
void operator() (mir::Server &server) const
void set_keymap (std::string const &keymap)
 Specify a new keymap. More...

Detailed Description

Load a keymap.

Constructor & Destructor Documentation

◆ Keymap() [1/3]

miral::Keymap::Keymap ( )

Apply keymap from the config.

◆ Keymap() [2/3]

miral::Keymap::Keymap ( std::string const &  keymap)

Specify a keymap. Format is:


Options is a comma separated list. e.g. "uk" or "us+dvorak"

◆ ~Keymap()

miral::Keymap::~Keymap ( )

◆ Keymap() [3/3]

miral::Keymap::Keymap ( Keymap const &  that)

Member Function Documentation

◆ operator()()

void miral::Keymap::operator() ( mir::Server &  server) const

◆ operator=()

auto miral::Keymap::operator= ( Keymap const &  rhs) -> Keymap &

◆ set_keymap()

void miral::Keymap::set_keymap ( std::string const &  keymap)

Specify a new keymap.

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

Copyright © 2012-2022 Canonical Ltd.
Generated on Fri Aug 26 13:27:37 UTC 2022
This documentation is licensed under the GPL version 2 or 3.