Lines Matching refs:i
30 int i; in keyRead() local
38 for (i = 0; i < 12; i++) in keyRead()
40 if (r & (0x0001 << i)) in keyRead()
42 if (!(pKey->cnt & (0x0001 << i))) in keyRead()
44 pKey->trg |= (0x0001 << i); in keyRead()
45 repeat_count[i] = 1; in keyRead()
50 if (repeat_count[i] > KEY_REPEAT_START) in keyRead()
52 pKey->rep |= (0x0001 << i); in keyRead()
53 repeat_count[i] = KEY_REPEAT_START - KEY_REPEAT_SPAN; in keyRead()
57 repeat_count[i]++; in keyRead()
63 if (pKey->cnt & (0x0001 << i)) in keyRead()
65 pKey->up |= (0x0001 << i); in keyRead()