Lines Matching refs:pKey
115 static void KeyRead(KeyInformation * pKey);
742 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
749 pKey->trg = 0x0000; in KeyRead()
750 pKey->up = 0x0000; in KeyRead()
751 pKey->rep = 0x0000; in KeyRead()
757 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
759 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
766 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
777 if (pKey->cnt & (0x0001 << i)) in KeyRead()
779 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
783 pKey->cnt = r; // Unprocessed key input in KeyRead()