1 /* Locates keycodes assigned to non-existent actions */
3 foreach (l, keys(mp.keycodes)) {
4 /* if the keycode is defined, is not directly executable
5 and is not defined in the action table... */
6 if (mp.keycodes[l] && !is_exec(mp.keycodes[l]) &&
7 !exists(mp.actions, mp.keycodes[l]))
8 print(l, ": ", mp.keycodes[l], "?\n");