Lines Matching refs:lvl

759 				int kc, grp, lvl;  in add_dead_keysyms()  local
762 for (lvl = 0; lvl < 8; lvl++) { in add_dead_keysyms()
764 kc, grp, lvl); in add_dead_keysyms()
986 int kc, grp, lvl; in switch_to_xkb_if_better() local
1151 for (lvl = 0; lvl < LVL; lvl++) { in switch_to_xkb_if_better()
1153 keysym = XkbKeycodeToKeysym(dpy, kc, grp, lvl); in switch_to_xkb_if_better()
1230 int kc, grp, lvl, k; in initialize_xkb_modtweak() local
1294 for (lvl = 0; lvl < LVL; lvl++) { in initialize_xkb_modtweak()
1295 xkbkeysyms[kc][grp][lvl] = NoSymbol; in initialize_xkb_modtweak()
1296 xkbmodifiers[kc][grp][lvl] = -1; in initialize_xkb_modtweak()
1297 xkbstate[kc][grp][lvl] = -1; in initialize_xkb_modtweak()
1334 for (lvl = 0; lvl < LVL; lvl++) { in initialize_xkb_modtweak()
1340 ks = XkbKeycodeToKeysym(dpy, kc, grp, lvl); in initialize_xkb_modtweak()
1341 xkbkeysyms[kc][grp][lvl] = ks; in initialize_xkb_modtweak()
1352 multi_key[kc] = lvl+1; in initialize_xkb_modtweak()
1355 mode_switch[kc] = lvl+1; in initialize_xkb_modtweak()
1358 shift_keys[kc] = lvl+1; in initialize_xkb_modtweak()
1424 if (lvl > lvl_max) { in initialize_xkb_modtweak()
1425 lvl_max = lvl; in initialize_xkb_modtweak()
1440 xkbmodifiers[kc][grp][lvl] = ms; in initialize_xkb_modtweak()
1474 xkbstate[kc][grp][lvl] in initialize_xkb_modtweak()
1480 xkbignore[kc][grp][lvl] = mods; in initialize_xkb_modtweak()
1487 if (xkbstate[kc][grp][lvl] == (unsigned int) -1 in initialize_xkb_modtweak()
1499 xkbstate[kc][grp][lvl] in initialize_xkb_modtweak()
1502 xkbignore[kc][grp][lvl] = mods_save | ms2; in initialize_xkb_modtweak()
1508 kc, grp+1, lvl+1, bitprint(ms, 8)); in initialize_xkb_modtweak()
1510 bitprint(xkbstate[kc][grp][lvl], 8)); in initialize_xkb_modtweak()
1512 bitprint(xkbignore[kc][grp][lvl], 8)); in initialize_xkb_modtweak()
1578 int kc, grp, lvl, i, kci; in xkb_tweak_keyboard() local
1678 for (lvl = 0; lvl < lvl_max+1; lvl++) { in xkb_tweak_keyboard()
1679 if (keysym != xkbkeysyms[kc][grp][lvl]) { in xkb_tweak_keyboard()
1683 state = xkbstate[kc][grp][lvl]; in xkb_tweak_keyboard()
1694 kc, kc, grp+1, lvl+1, keysym, s2, s1); in xkb_tweak_keyboard()
1698 bitprint(xkbignore[kc][grp][lvl], 8)); in xkb_tweak_keyboard()
1707 "G%d/L%d\n", kc, grp+1, lvl+1); in xkb_tweak_keyboard()
1718 lvl_f[found] = lvl; in xkb_tweak_keyboard()
1720 ignore_f[found] = xkbignore[kc][grp][lvl]; in xkb_tweak_keyboard()
2155 for (lvl = 0; lvl < lvl_max+1; lvl++) { in xkb_tweak_keyboard()
2160 ms = xkbmodifiers[kc][grp][lvl]; in xkb_tweak_keyboard()
2167 " %d G%d/L%d\n", kc, grp+1, lvl+1); in xkb_tweak_keyboard()
2173 ks = xkbkeysyms[kc][grp][lvl]; in xkb_tweak_keyboard()
2218 kc, grp+1, lvl+1, kt, kt ? in xkb_tweak_keyboard()