XKB: Allow build-time configuration of XKB defaults

Instead of hardcoding base/pc105/us, allow users to change the defaults at
./configure time.  Change the default model to be evdev on Linux.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Daniel Stone 2009-01-10 14:36:16 +02:00
commit 23862ede59
3 changed files with 82 additions and 55 deletions

View file

@ -6,7 +6,19 @@
#define _XKB_CONFIG_H_
/* Default set of XKB rules. */
#undef __XKBDEFRULES__
#undef XKB_DFLT_RULES
/* Default XKB model. */
#undef XKB_DFLT_MODEL
/* Default XKB layout. */
#undef XKB_DFLT_LAYOUT
/* Default XKB variant. */
#undef XKB_DFLT_VARIANT
/* Default XKB options. */
#undef XKB_DFLT_OPTIONS
/* Path to XKB definitions. */
#undef XKB_BASE_DIRECTORY