Parse key event in key.TriggerPool

See sub/key-seq-permutation.py for more infomation