Lines Matching refs:qv_keyboard
213 struct qv_keyboard { struct
218 } qv_keyboard; variable
537 qv_keyboard.lock ^= 0xffff; /* toggle */
538 if( qv_keyboard.lock )
545 qv_keyboard.shift ^= 0xffff;
548 qv_keyboard.cntrl ^= 0xffff;
551 qv_keyboard.cntrl = qv_keyboard.shift = 0;
554 c = qv_keyboard.last;
561 if( qv_keyboard.cntrl ) {
565 } else if( qv_keyboard.lock || qv_keyboard.shift )
572 qv_keyboard.last = c;