Lines Matching refs:newstate
126 kbtrans_key_t key, enum keystate newstate) in kbtrans_translate() argument
137 "newstate=0x%x key=0x%x\n", newstate, key)); in kbtrans_translate()
154 if (newstate == KEY_RELEASED) in kbtrans_translate()
219 newstate = KEY_RELEASED; /* toggling off */ in kbtrans_translate()
221 newstate = KEY_PRESSED; /* toggling on */ in kbtrans_translate()
230 if (newstate == KEY_RELEASED) in kbtrans_translate()
249 if (newstate == KEY_RELEASED) in kbtrans_translate()
267 if (newstate == KEY_RELEASED) in kbtrans_translate()
300 if (newstate == KEY_PRESSED && entrytype != SHIFTKEYS && in kbtrans_translate()
315 if (newstate == KEY_RELEASED) { in kbtrans_translate()
336 if (newstate == KEY_RELEASED) { in kbtrans_translate()
366 if (newstate == KEY_RELEASED) in kbtrans_translate()
371 if (newstate == KEY_PRESSED) { in kbtrans_translate()
382 if (newstate == KEY_PRESSED) { in kbtrans_translate()