"\t Size of the scrollback-buffer in lines\n"
"\n"
"Input Options:\n"
- "\t --xkb-layout <layout> [us] Set XkbLayout for input devices\n"
+ "\t --xkb-layout <layout> [-] Set XkbLayout for input devices\n"
"\t --xkb-variant <variant> [-] Set XkbVariant for input devices\n"
"\t --xkb-options <options> [-] Set XkbOptions for input devices\n"
"\t --xkb-repeat-delay <msecs> [250]\n"
CONF_OPTION_UINT(0, "sb-size", &conf->sb_size, 1000),
/* Input Options */
- CONF_OPTION_STRING(0, "xkb-layout", &conf->xkb_layout, "us"),
+ CONF_OPTION_STRING(0, "xkb-layout", &conf->xkb_layout, ""),
CONF_OPTION_STRING(0, "xkb-variant", &conf->xkb_variant, ""),
CONF_OPTION_STRING(0, "xkb-options", &conf->xkb_options, ""),
CONF_OPTION_UINT(0, "xkb-repeat-delay", &conf->xkb_repeat_delay, 250),
int ret;
struct xkb_rule_names rmlvo = {
.rules = "evdev",
- .model = "evdev",
+ .model = "",
.layout = layout,
.variant = variant,
.options = options,
input->keymap = xkb_keymap_new_from_names(input->ctx, &rmlvo, 0);
if (!input->keymap) {
log_warn("failed to create keymap (%s, %s, %s), "
- "reverting to default US keymap",
+ "reverting to default system keymap",
layout, variant, options);
- rmlvo.layout = "us";
+ rmlvo.layout = "";
rmlvo.variant = "";
rmlvo.options = "";
TEST_HELP
"\n"
"Input Device Options:\n"
- "\t --xkb-layout <layout> [us] Set XkbLayout for input devices\n"
+ "\t --xkb-layout <layout> [-] Set XkbLayout for input devices\n"
"\t --xkb-variant <variant> [-] Set XkbVariant for input devices\n"
"\t --xkb-options <options> [-] Set XkbOptions for input devices\n",
"test_input");
struct conf_option options[] = {
TEST_OPTIONS,
- CONF_OPTION_STRING(0, "xkb-layout", NULL, &input_conf.xkb_layout, "us"),
+ CONF_OPTION_STRING(0, "xkb-layout", NULL, &input_conf.xkb_layout, ""),
CONF_OPTION_STRING(0, "xkb-variant", NULL, &input_conf.xkb_variant, ""),
CONF_OPTION_STRING(0, "xkb-options", NULL, &input_conf.xkb_options, ""),
};