Lines Matching refs:keymap

48 #define	PRE_ERROR_MSG "\"The XKEYBOARD keymap compiler (xkbcomp) reports:\""
60 LoadXKM(unsigned want, unsigned need, const char *keymap, XkbDescPtr *xkbRtrn);
102 char *buf = NULL, keymap[PATH_MAX], xkm_output_dir[PATH_MAX];
118 snprintf(keymap, sizeof(keymap), "server-%s", display);
152 xkm_output_dir, keymap) == -1)
185 return xnfstrdup(keymap);
188 LogMessage(X_ERROR, "Error compiling keymap (%s) executing '%s'\n",
189 keymap, buf);
220 ErrorF("[xkb] XkbDDXCompileKeymapByNames compiling keymap:\n");
233 char *keymap;
242 keymap = RunXkbComp(xkb_write_keymap_for_names_cb, &ctx);
244 if (keymap) {
246 strlcpy(nameRtrn, keymap, nameRtrnLen);
248 free(keymap);
257 const char *keymap;
265 fwrite(s->keymap, s->len, 1, out);
270 const char *keymap, int keymap_length,
278 .keymap = keymap,
286 LogMessage(X_ERROR, "XKB: Couldn't compile keymap\n");
333 LoadXKM(unsigned want, unsigned need, const char *keymap, XkbDescPtr *xkbRtrn)
339 file = XkbDDXOpenConfigFile(keymap, fileName, PATH_MAX);
341 LogMessage(X_ERROR, "Couldn't open compiled keymap file %s\n",
347 LogMessage(X_ERROR, "Error loading keymap %s\n", fileName);
353 DebugF("Loaded XKB keymap %s, defined=0x%x\n", fileName,
385 LogMessage(X_ERROR, "XKB: Couldn't compile keymap\n");
457 * Compile the given RMLVO keymap and return it. Returns the XkbDescPtr on
495 LogMessage(X_ERROR, "XKB: Failed to load keymap. Loading default "
496 "keymap instead.\n");
530 const char *keymap, int keymap_length)
535 if (!dev || !keymap) {
536 LogMessage(X_ERROR, "XKB: No device or keymap specified\n");
545 XkbDDXLoadKeymapFromString(dev, keymap, keymap_length,