Reduce sent network packets.

Check if pressed key is irrelevant to EE.
Current code send packet when pressing any key.