Lines Matching refs:pKey
79 static void KeyRead(KeyInformation * pKey);
587 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
594 pKey->trg = 0x0000; in KeyRead()
595 pKey->up = 0x0000; in KeyRead()
596 pKey->rep = 0x0000; in KeyRead()
602 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
604 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
611 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
622 if (pKey->cnt & (0x0001 << i)) in KeyRead()
624 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
628 pKey->cnt = r; // Unprocessed key input in KeyRead()