Lines Matching refs:pKey
63 static void KeyRead(KeyInformation * pKey);
448 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
455 pKey->trg = 0x0000; in KeyRead()
456 pKey->up = 0x0000; in KeyRead()
457 pKey->rep = 0x0000; in KeyRead()
463 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
465 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
472 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
483 if (pKey->cnt & (0x0001 << i)) in KeyRead()
485 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
489 pKey->cnt = r; // Unprocessed key input in KeyRead()