Lines Matching refs:pKey
63 static void KeyRead(KeyInformation * pKey);
447 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
454 pKey->trg = 0x0000; in KeyRead()
455 pKey->up = 0x0000; in KeyRead()
456 pKey->rep = 0x0000; in KeyRead()
462 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
464 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
471 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
482 if (pKey->cnt & (0x0001 << i)) in KeyRead()
484 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
488 pKey->cnt = r; // Unprocessed key input in KeyRead()