Lines Matching refs:pKey
118 static void KeyRead(KeyInformation * pKey);
670 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
677 pKey->trg = 0x0000; in KeyRead()
678 pKey->up = 0x0000; in KeyRead()
679 pKey->rep = 0x0000; in KeyRead()
685 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
687 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
694 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
705 if (pKey->cnt & (0x0001 << i)) in KeyRead()
707 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
711 pKey->cnt = r; // Unprocessed key input in KeyRead()