Home
last modified time | relevance | path

Searched refs:shift_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/tty/vt/
Dkeyboard.c134 static int shift_state = 0; variable
374 shift_state = 0; in do_compute_shiftstate()
387 shift_state |= BIT(val); in do_compute_shiftstate()
818 int old_state = shift_state; in k_shift()
843 shift_state |= (1 << value); in k_shift()
845 shift_state &= ~(1 << value); in k_shift()
848 if (up_flag && shift_state != old_state && npadch != -1) { in k_shift()
1424 param.shift = shift_final = (shift_state | kbd->slockstate) ^ kbd->lockstate; in kbd_keycode()
2217 return shift_state; in vt_get_shift_state()
/Linux-v5.4/drivers/staging/speakup/
Dmain.c2097 speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym, in speakup_key() argument
2145 shift_info = (shift_state & 0x0f) + key_speakup; in speakup_key()