Class Keymap

Class Documentation

class Keymap

Load a keymap.

Public Functions

Keymap()

Apply keymap from the config.

explicit Keymap(std::string const &keymap)

Specify a keymap. Format is:

<language>[+<variant>[+<options>]]
Options is a comma separated list. e.g. “gb” or “us+dvorak”

explicit Keymap(live_config::Store &config_store)

Construct a Keymap instance with access to a live config store.

Remark

Since MirAL 5.5

~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.

Public Static Functions

static auto system_locale1() -> Keymap

Construct a Keymap instance that tracks the system locale1 dbus node.

Remark

Since MirAL 5.5