uxpanded state rules for 'pen contact' in parse packet function.