xkb: use system defaults instead of "us" for layout
authorRan Benita <ran234@gmail.com>
Tue, 23 Oct 2012 18:59:27 +0000 (20:59 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 27 Oct 2012 16:06:43 +0000 (18:06 +0200)
commit2843c80c5bcb38163088440470ba88ff6a76fb54
treed6f1c5d2a312878d61fef712617184c864278977
parentae78864cc96b7980f59b3540b73027d2cfae87ba
xkb: use system defaults instead of "us" for layout

libxkbcommon has a configure option to set the default values for the
RMLVO's (if they are passed as NULL or "" - we use "" so it'd be safe to
print). If they are not specified there, it's just "us" like we currently
do have. But if they are specified, we should most likely defer to it.

We do the same for the model field, instead of hardcoding "evdev". The
rules field remains hardcoded to "evdev", because we rely on it when
doing the evdev scancode-to-keycode +8 mapping.

Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/kmscon_conf.c
src/uterm_input_uxkb.c
tests/test_input.c