Lines Matching refs:pKey
70 static void KeyRead(KeyInformation * pKey);
252 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
259 pKey->trg = 0x0000; in KeyRead()
260 pKey->up = 0x0000; in KeyRead()
261 pKey->rep = 0x0000; in KeyRead()
267 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
269 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
276 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
287 if (pKey->cnt & (0x0001 << i)) in KeyRead()
289 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
293 pKey->cnt = r; // Unprocessed key input in KeyRead()