aboutsummaryrefslogtreecommitdiffstats
path: root/kbd.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-04-15 16:10:22 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-04-15 16:10:22 +0200
commit090307b7d3270c1bab3299c6e101c5577b5ad7c0 (patch)
tree3bcd21461e30a95a213f30922004891003ab991b /kbd.c
parent6dc4cd217733e81c9a6b59cf526b1e54b23c457d (diff)
downloadfbida-090307b7d3270c1bab3299c6e101c5577b5ad7c0.tar.gz
xkb: move variables to kbd.c
Diffstat (limited to 'kbd.c')
-rw-r--r--kbd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/kbd.c b/kbd.c
index d9ce8b3..9dd8241 100644
--- a/kbd.c
+++ b/kbd.c
@@ -15,6 +15,19 @@
/* ---------------------------------------------------------------------- */
+struct xkb_context *xkb_ctx;
+struct xkb_keymap *xkb_map;
+struct xkb_state *xkb_state;
+struct xkb_rule_names xkb_layout = {
+ .rules = NULL,
+ .model = "pc105",
+ .layout = "us",
+ .variant = NULL,
+ .options = NULL,
+};
+
+/* ---------------------------------------------------------------------- */
+
struct termctrl {
const char *seq;
uint32_t code;