51 |
keysym = XStringToKeysym(keyname); |
keysym = XStringToKeysym(keyname); |
52 |
if (keysym == NoSymbol) |
if (keysym == NoSymbol) |
53 |
{ |
{ |
54 |
error("Bad keysym %s in keymap %s\n", keyname, mapname); |
warning("Bad keysym %s in keymap %s\n", keyname, mapname); |
55 |
return; |
return; |
56 |
} |
} |
57 |
|
|
344 |
} |
} |
345 |
|
|
346 |
if (keymap_loaded) |
if (keymap_loaded) |
347 |
error("No translation for (keysym 0x%lx, %s)\n", keysym, get_ksname(keysym)); |
warning("No translation for (keysym 0x%lx, %s)\n", keysym, get_ksname(keysym)); |
348 |
|
|
349 |
/* not in keymap, try to interpret the raw scancode */ |
/* not in keymap, try to interpret the raw scancode */ |
350 |
if ((keycode >= min_keycode) && (keycode <= 0x60)) |
if ((keycode >= min_keycode) && (keycode <= 0x60)) |