Lines Matching defs:newstate
91 "newstate=%d key=%d", state, key));
132 enum keystate newstate)
143 "newstate=0x%x key=0x%x\n", newstate, key));
160 if (newstate == KEY_RELEASED)
227 newstate = KEY_RELEASED; /* toggling off */
229 newstate = KEY_PRESSED; /* toggling on */
238 if (newstate == KEY_RELEASED)
258 if (newstate == KEY_RELEASED)
281 if (newstate == KEY_RELEASED)
317 if (newstate == KEY_PRESSED && entrytype != SHIFTKEYS &&
332 if (newstate == KEY_RELEASED) {
339 * don't have to check for newstate == KEY_RELEASED.
353 if (newstate == KEY_RELEASED) {
383 if (newstate == KEY_RELEASED)
388 if (newstate == KEY_PRESSED) {
399 if (newstate == KEY_PRESSED) {