Lines Matching refs:shift_state
35 static unsigned int shift_state;
51 shift_state |= SHIFT;
55 shift_state &= ~SHIFT;
58 shift_state |= CONTROL;
61 shift_state &= ~CONTROL;
64 shift_state ^= CAPS;
84 if (!key_map[shift_state & SHIFT][cur_scan]) {
97 c = key_map[shift_state & SHIFT][cur_scan];
98 if (shift_state & (CONTROL | CAPS)) {
100 if (shift_state & CONTROL)
102 else if (shift_state & CAPS)