Mir
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)
explicit

Specify a keymap. Format is:

<language>[+<variant>[+<options>]] 

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-2018 Canonical Ltd.
Generated on Thu 12 Jul 10:49:10 UTC 2018