Merge "Fix virtual key press detection." into cm-10.2