Lines Matching full:press

203  * Simulate a press and release of any key that is currently
268 /* Check if modifier keys are pressed, and if so, fake a press */ in winRestoreModeKeyStates()
306 fake a press and a release to toggle the modifier to the correct in winRestoreModeKeyStates()
334 For strict correctness, we should also press any non-modifier keys in winRestoreModeKeyStates()
341 * Look for the lovely fake Control_L press/release generated by Windows
356 * Fake Ctrl_L presses will be followed by an Alt_R press in winIsFakeCtrl_L()
357 * with the same timestamp as the Ctrl_L press. in winIsFakeCtrl_L()
361 /* Got a Ctrl_L press */ in winIsFakeCtrl_L()
366 /* Look for next press message */ in winIsFakeCtrl_L()
382 /* Is next press an Alt_R with the same timestamp? */ in winIsFakeCtrl_L()
387 * Next key press is Alt_R with same timestamp as current in winIsFakeCtrl_L()
388 * Ctrl_L message. Therefore, this Ctrl_L press is a fake in winIsFakeCtrl_L()
395 * Sometimes, the Alt_R press message is not yet posted when the in winIsFakeCtrl_L()
396 * fake Ctrl_L press message arrives (even though it has the in winIsFakeCtrl_L()
397 * same timestamp), so check for an Alt_R press message that has in winIsFakeCtrl_L()
402 /* Got a Alt_R press */ in winIsFakeCtrl_L()
408 /* Undo the fake Ctrl_L press by sending a fake Ctrl_L release */ in winIsFakeCtrl_L()
435 /* Is next press an Alt_R with the same timestamp? */ in winIsFakeCtrl_L()
450 /* On any other press or release message, we don't have a in winIsFakeCtrl_L()
455 /* Not a fake control left press/release */ in winIsFakeCtrl_L()