Lines Matching refs:pKey
69 static void KeyRead(KeyInformation * pKey);
386 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
393 pKey->trg = 0x0000; in KeyRead()
394 pKey->up = 0x0000; in KeyRead()
395 pKey->rep = 0x0000; in KeyRead()
401 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
403 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
410 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
421 if (pKey->cnt & (0x0001 << i)) in KeyRead()
423 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
427 pKey->cnt = r; // Unprocessed key input in KeyRead()