Lines Matching refs:pKey
51 static void KeyRead(KeyInformation * pKey);
295 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
302 pKey->trg = 0x0000; in KeyRead()
303 pKey->up = 0x0000; in KeyRead()
304 pKey->rep = 0x0000; in KeyRead()
310 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
312 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
319 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
330 if (pKey->cnt & (0x0001 << i)) in KeyRead()
332 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
336 pKey->cnt = r; // Unprocessed key input in KeyRead()