Lines Matching defs:action
1049 * If either the oldkey or the newkey action is restricted
1050 * then we must make sure that the action doesn't change.
1240 int action;
1257 action = kbd->kb_lastact[keycode];
1259 switch (action) {
1265 action = LSH;
1275 action = RSH;
1285 action = LCTR;
1295 action = RCTR;
1305 action = LALT;
1315 action = RALT;
1350 return (SPCLKEY | RELKEY | action);
1352 action = key->map[i];
1357 kbd->kb_lastact[keycode] = action;
1358 if (kbd->kb_lastact[keycode] != action)
1359 action = NOP;
1360 switch (action) {
1388 action |= BKEY;
1392 action = LSH;
1399 action = RSH;
1406 action = LCTR;
1413 action = RCTR;
1420 action = LALT;
1427 action = RALT;
1444 if (action >= F_ACC && action <= L_ACC) {
1445 action = save_accent_key(kbd, action,
1447 switch (action) {
1450 return (action);
1453 return (action | MKEY);
1455 return (action);
1464 if (action >= F_FN && action <= L_FN)
1465 action |= FKEY;
1467 return (SPCLKEY | action);
1470 return (SPCLKEY | action);
1477 action = make_accent_char(kbd, action, accents);
1478 if (action == ERRKEY)
1479 return (action);
1482 action |= MKEY;
1483 return (action);